From 44b988f1f6fcc85838da77d7a7cc780bdcb16b38 Mon Sep 17 00:00:00 2001
From: "Edward Z. Yang"
You may, for whatever reason, may need to set the character encoding +
You may, for whatever reason, need to set the character encoding on non-PHP files, usually plain ol' HTML files. Doing this is more of a hit-or-miss process: depending on the software being used as a webserver and the configuration of that software, certain @@ -386,8 +386,8 @@ processing instructions. They look like:
For XHTML, this processing instruction theoretically
overrides the META
tag. In reality, this happens only when the
-XHTML is actually served as legit XML and not HTML, which is almost
-always never due to Internet Explorer's lack of support for
+XHTML is actually served as legit XML and not HTML, which is almost always
+never due to Internet Explorer's lack of support for
application/xhtml+xml
(even though doing so is often
argued to be good practice).
In short, if you use XHTML and have gone through the
-trouble of adding the XML header, be sure to make sure it jives
+trouble of adding the XML header, make sure it jives
with your META
tags and HTTP headers.