quote:
Originally posted by sock
As for the META HTTP-EQUIV tag, I could very possibly be wrong about what I said - but one thing's for sure, it does not override the server's header information. How do I know? The exact same HTML code (a Hebrew page with the above META tag included) was displayed fine (ie. in Hebrew) on one server, while on the other it wasn't.
Yep... I think it's time for a w3.org quote.
quote:
http://www.w3.org/TR/REC-html40/charset.html#h-5.2.2
...conforming user agents must observe the following priorities when determining a document's character encoding (from highest priority to lowest):
- An HTTP "charset" parameter in a "Content-Type" field.
- A META declaration with "http-equiv" set to "Content-Type" and a value set for "charset".
- The charset attribute set on an element that designates an external resource.