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

Re: Encoding Spec and Encoding for readAsText

From: Arun Ranganathan <aranganathan@mozilla.com>
Date: Sat, 18 Feb 2012 14:46:00 -0800 (PST)
To: Anne van Kesteren <annevk@opera.com>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <1191110039.11423801.1329605160514.JavaMail.root@zimbra1.shared.sjc1.mozilla.com>
Anne,

> 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
> Blob.type.

OK, I agree that BOM considerations should override the Charset Parameter (if any) in Blob.type.  I've made such a change.

http://dev.w3.org/2006/webapi/FileAPI/

-- A*
Received on Saturday, 18 February 2012 22:46:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT