Re: Encoding Spec and Encoding for readAsText

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 UTC