[Html validator] Resolve "Warning Byte-Order Mark found in UTF-8 File." alert


Well-known member
For a reason I ignore, since my host has updated the server of my website, I had a few errors. Among those errors, one of them was with Wordpress: the "head" elements were inside the "body". I use the W3C validator to check my webpage and got this error: "Warning Byte-Order Mark found in UTF-8 File.". This error is known to cause the header/body problem.

The hardest is not to find this information on the web but find the files using a UTF-8 encoding with BOM. Fortunately I've found this program (Windows) that has checked my 3700 files on my local directory in a few seconds and found the guilty files. A few of them was with the XenForo-Wordpress bridge. I can't remember if I'm the one who save this file in UTF8 or if they were like this inside the archive.

If this message can help someone one day...