On Fri, Jan 10, 2014 at 3:14 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> 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? Exactly how StringView handles the option now. If I generate a random string using byte values then each char in that string should correspond to a single byte when specifying the ISO-8859-1. It doesn't really make since to use UTF-8 for bytes when that data should be manipulated as bytes in the first place. In the case of data being represented as a string but need to be handled as bytes. https://bugzilla.mozilla.org/show_bug.cgi?id=957424 UTF-8 being the default is not the problem of course. Throwing an exception for ASCII is.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss