When I validate my page, I get the following message (which doesn't invalidate the page, but I still want to fix it):

----------------------------
The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.
----------------------------




Here's my header:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">




And here's the meta tag:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />



I'd like to keep the iso-8859-1 value, just because it seems to work better with some characters on my page, but how do I change the header to match it? Or would I be better off just changing to a UTF-8 encoding?

Thanks,
-Sage

[BTW, if you can't tell, I mostly don't know what I'm talking about, so educate me as you see fit ;-) ].

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to