httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: [users@httpd] AddDefaultCharset and Multiple Encodings
Date Thu, 02 Feb 2006 09:21:03 GMT
* Skating Jim <skatingjim@yahoo.com> 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
<http://www.w3.org/TR/html4/charset.html>:

| 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.

nd

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message