- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 04 Mar 2013 12:09:50 -0500
- To: whatwg <whatwg@whatwg.org>
The problem I'm trying to solve is sending Unicode text to consumers who need base64-encoded input. Right now the only "sane" way to do it (and I quote "sane" for obvious reasons) is something like the example at https://developer.mozilla.org/en-US/docs/DOM/window.btoa#Unicode_Strings It seems like it would be better if the output of a TextEncoder could be passed directly to btoa. But for that we need an overload of btoa that takes a Uint8Array. Thoughts? -Boris
Received on Monday, 4 March 2013 17:10:24 UTC