Open Koziolek opened 9 years ago
Same issue with some characters from alphabet turkish and polish (ex: "Müşteri").
@Koziolek I can encode correctly your "ö". When I encode, I obtain "9g==". My problem is related to "getByte" function in angular-base64.js file because function charCodeAt() return a value greater than 255 and an exception is thrown. If I comment "if" the character is not encoded correctly.
var x = s.charCodeAt(i);
if (x > 255) {
throw "INVALID_CHARACTER_ERR: DOM Exception 5";
}
My code is simple:
Now if I put ö as
loginText
then I get9g==
that is invalid. As a reference, and valid, encoding I use java:produces
'w7Y=
and python
Similar issue for other chars from german language, some from spanish and polish.