[Bug 15359] Make BOM trump HTTP

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15359

--- Comment #5 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2012-07-05 05:57:03 UTC ---
(In reply to comment #4)

> (In reply to comment #3)
> 
> I think that it is an *extremely* bad idea to require that user agents must not
> be able to handle documents in whatever way their users have configured them to
> - rightly, wrongly, or otherwise.

Are you dissatisfied with the way XML is specified?

XML does not allow you to override the encoding at will. For instance, when
there is no encoding info (BOM, XML declaration, XML encoding declaration,
HTTP) associtated with an XML file, then the file MUST be UTF-8 encoded. Those
XML parsers that are serious about implementing XML thus do not permit that you
override the encoding of an UTF-8 encoded XML document, because, to do so,
would be a fatal error.

It is great if HTML gets semi-aligned with XML so that, at least when the BOM
is used, it gets impossible to override the DOM. That way, we decrease the need
for users to "fix" encoding configuration problems.

-- 
Configure bugmail: https://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 Thursday, 5 July 2012 05:57:04 UTC