Skip to content Skip to sidebar Skip to footer

Validation Error: Byte-order Mark Found In Utf-8 File

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. Here's the link t

Solution 1:

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 <meta charset > try writing the value within quotes

Solution 2:

The free text editor PSPad has a hex editing mode which is very handy for seeing exactly what you really have in your text files.

Post a Comment for "Validation Error: Byte-order Mark Found In Utf-8 File"