Re: [whatwg] Fetch API: asHTML

On Mon, Jun 23, 2014 at 9:35 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> Note that you can't do JSON decoding without first doing binary->text
> decoding. So by having a "asJSON" function we are automatically
> pulling in charset conversion.

Yes, Domenic pointed that out. The same is true for asText(). But note
that we're only using the utf-8 decoder.


-- 
http://annevankesteren.nl/

Received on Tuesday, 24 June 2014 09:29:56 UTC