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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10656





--- 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