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

Please don't use atob on text data #2

Open
reedom opened this issue Aug 9, 2020 · 0 comments
Open

Please don't use atob on text data #2

reedom opened this issue Aug 9, 2020 · 0 comments

Comments

@reedom
Copy link

reedom commented Aug 9, 2020

I saw it had collapsed non-ascii characters originally encoded in utf-8.

For example, for ブーツ it produced ã��ã�¼ã��.

It'd be favorable to respect Content-Type in the response header.
Also, it'd be nice to pass the original base64 encoded data to event handlers that will bring a chance to solve this kind of problem by them.

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

1 participant