W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: Encoding Spec and Encoding for readAsText

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 13 Feb 2012 12:48:33 +0100
To: "Arun Ranganathan" <aranganathan@mozilla.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.v9l8e7bv64w2qv@annevk-macbookpro.local>
On Mon, 06 Feb 2012 19:18:35 +0100, Arun Ranganathan  
<aranganathan@mozilla.com> wrote:
>> I think per https://www.w3.org/Bugs/Public/show_bug.cgi?id=15359 we
>> want to let the BOM checking happen before the other considerations.
> Really?  Does that mean, favoring BOM checking over the Blob's type  
> attribute and the optional encoding parameter of the readAsText()  
> method?  Why exactly?

Because the BOM is more authoritative. I suppose we could make the  
encoding argument be a hard override, but BOM should definitely override  

Anne van Kesteren
Received on Monday, 13 February 2012 11:49:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC