Re: [users@httpd] AddDefaultCharset and Multiple Encodings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Skating Jim <skatingjim@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux