encoding issue

后端 未结 4 1453
孤街浪徒
孤街浪徒 2021-01-04 23:22

I\'m developing a website using PHP and these strange chars \"\" appears in my page, right on the top of it. My code is this:



        
4条回答
  •  误落风尘
    2021-01-05 00:00

    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?).

提交回复
热议问题