W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2012

[Bug 15359] Make BOM trump HTTP

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Jul 2012 05:57:03 +0000
Message-Id: <E1Smf3n-0001ql-If@jessica.w3.org>
To: public-html-bugzilla@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 July 2012 05:57:05 GMT