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

link generator does not support non-ascii characters. #36

Open
brecert opened this issue Sep 6, 2020 · 0 comments
Open

link generator does not support non-ascii characters. #36

brecert opened this issue Sep 6, 2020 · 0 comments

Comments

@brecert
Copy link

brecert commented Sep 6, 2020

This issue is related to #21.

When inserting a Unicode character such as , the app will throw String contains an invalid character.
This happens due to btoa not supporting any unicode characters outside of the ascii range.

https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa

brecert added a commit to brecert/perflink that referenced this issue Sep 6, 2020
Fixes "reversed" process for encode/decoding, this should not affect any previously saved links (due to them failing if there was a Unicode character)
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

Successfully merging a pull request may close this issue.

1 participant