- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 25 Aug 2010 21:37:23 -0400
On 8/25/10 7:41 PM, Adam Barth wrote: > 2) Decoding base64 results in binary data. We'll need to convert that > data to characters in order to deal with it in the DOM. We use always > use UTF8 for that transformation, regardless of the document's > encoding. Note that this issue means that using atob or btoa for dealing with this is a huge pain if non-ASCII chars are involved, since those take and return byte arrays masquerading as JS strings, not actual Unicode strings. -Boris
Received on Wednesday, 25 August 2010 18:37:23 UTC