[whatwg] Specs for window.atob() and window.btoa()

Joshua Cranmer Pidgeot18 at verizon.net
Sat Feb 5 18:37:25 PST 2011

On 02/05/2011 08:29 PM, Jonas Sicking wrote:
> So my first question is, can someone give examples of sources of
> base64 data which contains whitespace?
The best guess I have is base64-encoding MIME parts, which would be 
hardwrapped every 70-80 characters or so.

Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth

More information about the whatwg mailing list