httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [users@httpd] AddDefaultCharset and Multiple Encodings
Date Thu, 02 Feb 2006 09:21:03 GMT
* Skating Jim <> wrote:

> I agree that this is a browser issue, but the W3C HTML
> 4.01 specification document very clearly specifies
> that charset attributes in HTML elements take highest
> priority, followed by Content-Type META tags, followed
> by HTTP header charsets.  The XHTML1.0 specification
> also gives prioity to META tags over HTTP headers.

Actually the W3C specifies exactly the opposite. From

| To sum up, conforming 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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message