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

Some tools do not support Chinese #1092

Closed
chenwei0930 opened this issue May 15, 2024 · 2 comments
Closed

Some tools do not support Chinese #1092

chenwei0930 opened this issue May 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working triage

Comments

@chenwei0930
Copy link

Describe the bug

When inputting Chinese characters in the "Base64 String Encoding/Decoding" tool to convert them into Base64 encoding, the input box disappears. The F12 console reports an error:
DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
at u (https://tools.datapipe.top/assets/base64-94c6bba0.js:1:52)
at Pg.fn (https://tools.datapipe.top/assets/base64-string-converter-a0adcec4.js:1:616)
at Pg.run (https://tools.datapipe.top/assets/index-55fd01d4.js:1:5553)
at get value (https://tools.datapipe.top/assets/index-55fd01d4.js:1:14322)
at M (https://tools.datapipe.top/assets/index-55fd01d4.js:1:12921)
at https://tools.datapipe.top/assets/base64-string-converter-a0adcec4.js:1:1405
at o (https://tools.datapipe.top/assets/index-55fd01d4.js:1:17413)
at ln (https://tools.datapipe.top/assets/index-55fd01d4.js:1:26267)
at Proxy. (https://tools.datapipe.top/assets/index-55fd01d4.js:1389:41913)
at Ap (https://tools.datapipe.top/assets/index-55fd01d4.js:1:17725)

What happened?

A bug happened!

System information

Win10 Chrome version: 124.0.6367.201

Where did you encounter the bug?

A self hosted

@sharevb
Copy link
Contributor

sharevb commented May 15, 2024

Hi @chenwei0930, fixed in #905

@CorentinTh
Copy link
Owner

Solved in #905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

3 participants