W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 10656] The spec says that for scripts the BOM overrides the HTTP charset

From: <bugzilla@jessica.w3.org>
Date: Sun, 26 Sep 2010 19:33:11 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OzwyF-0007n1-KK@jessica.w3.org>

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu>  2010-09-26 19:33:10 ---
> ...but why would you put charset="" between the HTTP headers and the BOM?

Because it's more reliably in the presence of arbitrary encodings?  In
particular, two-byte encodings that are not UTF-16 could give false positives
for the BOM.

In any case, the main weirdness I see here is the BOM overriding the HTTP
header (and the inconsistency of this with documents and stylesheets).

What do non-Gecko UAs do here?

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 Sunday, 26 September 2010 19:33:14 UTC

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