sstrigler / JSJaC

JavaScript Jabber Client Library
Other
295 stars 86 forks source link

Unicode JID #18

Closed bhuztez closed 13 years ago

bhuztez commented 13 years ago

crypt.js will use browser's atob/btoa, if available. however, most of them don't work with unicode. a work-around has been mentioned on MDN, https://developer.mozilla.org/en/DOM/window.btoa#Unicode_Strings . This is my patch, hope it will work :-)

sstrigler commented 13 years ago

ok, let's see what happens :D