Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic support #2

Closed
ferhado opened this issue Oct 22, 2021 · 1 comment
Closed

Arabic support #2

ferhado opened this issue Oct 22, 2021 · 1 comment

Comments

@ferhado
Copy link

ferhado commented Oct 22, 2021

When I try to encode and decode an Arabic test, I become the error 'base64 malformed!'
Example:

var str = "فرهادو";
var encodeString = base64.encode(str); // 编码
var decodeString = base64.decode(encodeString); // 解码

console.log(encodeString);
console.log(decodeString);
@vilien
Copy link
Owner

vilien commented Oct 24, 2021

It's a bug. New version has been released for this v1.0.0

@vilien vilien closed this as completed Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants