3 ms·
I'm just curious since I never used this feature, are you talking about this issue? > The "Unicode Problem" > Since DOMStrings are 16-bit-encoded strings, in
by IIIIIIIIIIII 9y ago
I'm just curious since I never used this feature, are you talking about this issue?
> The "Unicode Problem"
> Since DOMStrings are 16-bit-encoded strings, in most browsers calling window.btoa on a Unicode string will cause a Character Out Of Range exception if a character exceeds the range of a 8-bit ASCII-encoded character. There are two possible methods to solve this problem:
https://developer.mozilla.org/en/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#The_.22Unicode_Problem.22 https://developer.mozilla.org/en/docs/Web/API/WindowBase64/B...
- riquito 9y agoYes, that one