Stephen Turner wrote: > On Tue, 7 Oct 2003, Klaus Johannes Rusch wrote: > > > > Check the headers returned from your Web server, the default Apache 2 > > configuration includes a charset attribute on the Content-Type header, which > > takes precedence over the meta tag. > > > > Is that true? It would seem more logical to me that the document's meta tag > should take precedence. The HTML spec doesn't seem to say either way, as far > as I can see.
http://www.w3.org/TR/html4/charset.html#h-5.2.2 [C]onforming user agents must observe the following priorities when determining a document's character encoding (from highest priority to lowest): 1. An HTTP "charset" parameter in a "Content-Type" field. 2. A META declaration with "http-equiv" set to "Content-Type" and a value set for "charset". 3. The charset attribute set on an element that designates an external resource. -- Klaus Johannes Rusch [EMAIL PROTECTED] http://www.atmedia.net/KlausRusch/ +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
