| Validation Error with utf-8 Error validating 2 warnings with utf-8 |
Jimbo123

msg:4255214 | 4:01 pm on Jan 19, 2011 (gmt 0) | I wonder if someone can help me in explaining why my webpage wont validate on the W3C website, once checked I'm getting the following 2 warnings: Character Encoding mismatch! The character encoding specified in the HTTP header (utf8) is different from the value in the <meta> element (utf-8). I will use the value from the HTTP header (utf-8) for this validation. Character Encoding Override in effect! The detected character encoding "utf8" has been suppressed and "utf-8" used instead. This is the code at the header of my page, am I doing anything wrong? Thanks, James <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
pageoneresults

msg:4255224 | 4:19 pm on Jan 19, 2011 (gmt 0) | Could be one of two things; you've accidentally checked the box during validation to override the character encoding or, your server is sending a different character encoding value before the metadata is served, its coming from the http server header which comes before the meta, hence the reason for the conflict.
|
Jimbo123

msg:4255237 | 4:39 pm on Jan 19, 2011 (gmt 0) | Thanks for getting back to me, I've checked the validation and I haven't checked any boxes or changed anything on the page before validation. I'll contact my web hosting to see if it's an issue with the server.
|
g1smd

msg:4255409 | 9:38 pm on Jan 19, 2011 (gmt 0) | Use the "Live HTTP Headers" extension for Firefox to look at the HTTP headers (as opposed to looking at the HTML head section by viewing the HTML source) and see what you can see in there.
|
|
|