Fix incorrectly displayed encoding on an html document with php
You need to save the page with UTF-8 without BOM encoding. Add this header on top of your script: header(“Content-Type: text/html; charset=UTF-8”); [EDIT]: How to Save Files as UTF-8 without BOM : On OP request, here’s how you can do on Windows: Download Notepad++. It is an awesome text-editor that you should be using. Install … Read more