Support Us

If we have helped or entertained you with our website; help promote us by posting a link to one of our pages.

Also don't forget to like us on Facebook and Bookmark us too.

Many thanks to all our fans.

Byte-Order Mark found in UTF-8 File. W3C Warning

Here you will learn how to remove Byte-Order Mark found in UTF-8 File W3C warning and what causes it! If you W3C validate your website you may be terrorised by this irritating warning. You may be sitting there screaming “WHY IS THIS “BYTE-ORDER MARK FOUND IN UTF-8 FILE WARNING” COMING BACK ALL THE TIME AAAARRRGHHH!!!!”. Well now is the time to stop pulling your hair out, we have the answer to removing this warning so settle down and relax.
byte-order w3c warning

Causes of the Byte-Order Mark found in UTF-8 File Warning

If you are an old school web designer like me you probably learned to code HTML in Notepad. As with most programing languages, notepad used to be the tool of choice for many to hard code. If you use notepad then this is your problem! Even if you didn’t use notepad to create the file and you were just editing it fast, you will add the warning Byte-Order Mark found in UTF-8 File from W3C. That’s right, using Microsoft Notepad to save your HTML documents is the cause of the problem!notepad++ interface
If you don’t use notepad and you’re getting the warning then it could be some other editor you’re saving your work with that’s adding the Byte-Order Mark.

So the answer is STOP USING NOTEPAD or what other editor is causing your problem. A good alternative is an editor called ‘Notepad ++’ shown to the right: download Notepad ++ here. It is currently the text editor that I am using and I am finding it very good so far, also it is free which makes it even better.

How to remove ‘Byte-Order Mark found in UTF-8 File’ from your pages

Unfortunately removing the warnings can be tedious and very boring. The only good part of removing the warnings is not having to ever do it again. The only way I found of doing this that worked was:

If you know of a better way to do this please leave a comment at the bottom of the page to help others with the Byte-Order Mark warning.

What is a Byte-Order Mark found in UTF-8 File?

A byte order mark (BOM) is a Unicode character that is used to signal the endianness (byte order) of a text file. You can learn more about what it is by reading the Wiki page on the subject: Byte Order Mark Info

Hopefully this has helped you understand, remove and stop byte-order mark warnings continuing on your website.

         Delicious Delicious        

Information advice's comment box is loading comments...