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

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