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

UTF-8 support problem #23

Open
kdragowski opened this issue Oct 11, 2018 · 0 comments
Open

UTF-8 support problem #23

kdragowski opened this issue Oct 11, 2018 · 0 comments

Comments

@kdragowski
Copy link

kdragowski commented Oct 11, 2018

When I try generate file in Chrome 69.0.3497.100 from data in UTF-8 character encoding a get error

DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

According to https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#The_Unicode_Problem there are two ways to solve the problem with utf-8 encoding support

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