enconding issue

空扰寡人 提交于 2019-11-30 18:54:21

That's a BOM character, which is there because the source code files are saved as UTF-8 BOM. Try to save them as UTF-8 no-BOM (or whatever your editor calls it) or indeed ISO-8859-1 if you must use it (...why would you?).

If you want to use iso-8859-1, you need to save your PHP file as iso-8859-1.
For detailed instructions, please tell us which editor you're using.

However, I highly recommend that you use UTF8 instead.

Look at the "Page Info" screen and see what character set the browser thinks you're in. The odds are that your web server is forcing UTF-8 with its Content-Type header, which trumps the meta tag.

simple solution, just placed your html/php code is start from first line, I am just do that to resolve these problem, and it's work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!