Need a champion? StringView strawman

Boris Zbarsky bzbarsky at MIT.EDU
Fri Jan 10 13:14:16 PST 2014

On 1/10/14 3:47 PM, Dwayne wrote:
> Currently the Mozilla TextDecoder Web API does not accept ASCII as a
> valid encoding option

I'm curious.  What would you expect such an option to do?  Byte-inflate 
like ISO-8859-1?  Byte-inflate but throw on bytes with values > 127? 
Act as a synonym for ISO-8859-9? Something else?

> and defaults to UTF-8, if left unspecified.

Right, because it's meant for text, and for text UTF-8 is a pretty 
reasonable default nowadays.


More information about the es-discuss mailing list