Validation error: Byte-Order Mark found in UTF-8 File

后端 未结 2 1016
天涯浪人
天涯浪人 2020-12-17 00:00

I\'m working on a website and while displaying it on Firefox is fine, on IE I\'ve got a lot of problems. I used the w3c validator and I got a lot of strange errors.

2条回答
  •  别那么骄傲
    2020-12-17 00:42

    if using notepad++, use Convert to UTF-8 without BOM.

    if you are using php, make sure that any included/required file is in either in ascii or UTF without BOM, as php doesn't handle non-ascii file very good (this one gave me a headache once)

    you could try converting your files to ascii, if you don't need utf characters

    on your try writing the value within quotes

提交回复
热议问题