W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2011

[Bug 12897] UTF-8 BOM should trump users and/or HTTP (Encoding sniffing algorithm)

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Jun 2011 05:14:24 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QTocS-0008VL-P8@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12897

Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsivonen@iki.fi

--- Comment #7 from Henri Sivonen <hsivonen@iki.fi> 2011-06-07 05:14:24 UTC ---
(In reply to comment #0)
>     A. Harmonization with XML 1.0  Appendix F.2, "Priorities in the Presence of
> External Encoding Information", which recommends BOM to have higher priority
> than external encoding information:
> http://www.w3.org/TR/xml/#sec-guessing-with-ext-info  (Opera/Firefox do not yet
> implement this XML 1.0 recommendation)

I believe you are misreading the XML 1.0 spec. It says that in the HTTP case,
RFC 3023 applies but for anyone specifying a new case, they recommend giving
XML itself precedence. However, since the RFC applies in the HTTP case, in the
HTTP case, the charset parameter on the HTTP level is authoritative.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 7 June 2011 05:14:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:52 UTC