[whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob

Anne van Kesteren annevk at annevk.nl
Tue Aug 6 03:09:35 PDT 2013

On Tue, Aug 6, 2013 at 1:41 AM, Kenneth Russell <kbr at google.com> wrote:
> The Encoding spec at http://encoding.spec.whatwg.org/ seems to have
> handled issues like these. Perhaps a better route would be to fold
> this functionality into that spec.

Yeah, I think my preference would be at this point to expose API-only
encodings there. One of those could be base64. Labels for those
encodings would simply not be recognized for <form> and URL. We could
even give them labels that suggest that, e.g. "api-base64". Another
one I've heard requests for is true latin1 which we also use in
XMLHttpRequest for various HTTP-related things.


More information about the whatwg mailing list