How to fix “Byte-Order Mark found in UTF-8 File” validation warning

后端 未结 5 2102
旧时难觅i
旧时难觅i 2020-12-14 00:33

I\'ve got an xhtml page validating under xhtml strict doctype -- but, I getting this warning which I trying to understand -- and correct.

Just, how do I locate this e

5条回答
  •  轮回少年
    2020-12-14 01:01

    Here's how I fixed this:

    1. Download and install Notepad++

    2. Open the file with Notepad++

    3. In the menu select "Encoding" and set it to "Encode in UTF-8 without BOM"

    4. Save the file and the BOM will be gone.

提交回复
热议问题