Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
April 5, 2005, 10:20 pm
rate this thread
Re: http-equiv vs true header: which has precedence?
On Wed, 6 Apr 2005, Newry wrote:
> Content-Type: text/html; charset=ISO-8859-1
> and this HTML element in the <head>:
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
> Which one is supposed to take precedence (override the other)?
Feel free to consult the authoritative RFC2616. Nothing that we say
here could possibly override that.
See also http://www.w3.org/TR/REC-html40/charset.html#h-5.2.2 - also
appendix C to the XHTML/1.0 specification if you're interested in
(For HTTP transfers, the true HTTP header has priority over all other
sources. But that would be true or false no matter what anyone were
to say here about it. So be sure to consult the authoritative
sources. And nowadays even the popular browsers have caught up with