This is my PHP code:
If you're going to send a mix of data and don't want to specify utf-8 using a php header, you can add this html to your page: