jquery-base64 icon indicating copy to clipboard operation
jquery-base64 copied to clipboard

Accepting Non-Latin Characters?

Open PunkChameleon opened this issue 12 years ago • 1 comments

Great plugin. One issue I found when trying to push non-latin characters -- if you run it as such

 $.base64.encode('पनामा');

It will return an error as such:

"INVALID_CHARACTER_ERR: DOM Exception 5"

It would be great to get this to work in all alphabets if at all possible!

PunkChameleon avatar Jan 11 '13 13:01 PunkChameleon

Maybe inspiration can be taken from this -- https://github.com/yatt/jquery.base64

PunkChameleon avatar Jan 11 '13 13:01 PunkChameleon