W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: The algorithm to determine encoding for FileReader.readAsText() doesn't account for predefined content types

From: Arun Ranganathan <arun@mozilla.com>
Date: Wed, 28 Sep 2011 18:34:18 -0400
Message-ID: <4E83A0EA.7090204@mozilla.com>
To: Eli Grey <me@eligrey.com>
CC: public-webapps@w3.org
On 7/12/11 8:20 PM, Eli Grey wrote:
> Shouldn't the algorithm for determining encoding for
> FileReader.readAsText() take in account the type property's charset
> parameter, if it exists? (e.g. a blob.type of
> "text/plain;charset=UTF-8")
Greetings Eli,

Apologies for the long delay in response time.  This email message got 
lost somehow.

I think your suggestion is perfectly reasonable, and that the spec. 
should allow for the type property also including a charset component.  
If the two clash (namely, parameter with the charset production), we 
should defer to the parameter IMHO.

-- A*
Received on Wednesday, 28 September 2011 22:35:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:24 UTC