Validation Error, Byte-Order Mark found in UTF-8 File? |
Validation Error, Byte-Order Mark found in UTF-8 File? |
Sep 5 2009, 11:44 PM
Post
#1
|
|
|
Sunshine07 ![]() ![]() Group: Member Posts: 22 Joined: Oct 2008 Member No: 690,489 |
I just ran my site through the HTML validator, and I got a warning about the UTF-8 encoded files. I don't know how I can get rid of this warning! Can someone please help me? Here's the validation link of my site - http://validator.w3.org/check?uri=http%3A%...ine&group=0
|
|
|
|
![]() |
Sep 6 2009, 01:34 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
BOMs are hell when you're trying to deliver PHP headers or cookies, since it's an invisible character that sends header info before PHP. If you're using Windows Notepad, you'll have to use something else to save it as UTF-8. You need to copy the code from all of your files, paste it into a new document in a text/HTML editor that doesn't save byte-order marks, and resave it (if you simply open the file in another editor and save it, it won't work).
|
|
|
|
sunshine07 Validation Error Sep 5 2009, 11:44 PM
jcp Its really not a big deal. It not even an error ju... Sep 6 2009, 12:11 AM
sunshine07 But, I have seen other people using it, yet they d... Sep 6 2009, 05:33 AM
jcp QUOTE(sunshine07 @ Sep 6 2009, 05:33 AM) ... Sep 6 2009, 12:18 PM
tcunningham You should be using:
CODE<meta http-equiv=... Sep 6 2009, 07:36 AM
mipadi QUOTE(tcunningham @ Sep 6 2009, 08:36 AM)... Sep 6 2009, 12:13 PM
sunshine07 Thank you so much everyone for your replies.
I thi... Sep 6 2009, 08:18 PM
elletricity Topic closed and moved. PM me if you want it reope... Sep 6 2009, 08:40 PM![]() ![]() |