it-tools
it-tools copied to clipboard
[BUG] Base64 string encoder/decoder cannot convert Chinese/Japanese/Korean etc. strings
trafficstars
Which tool is impacted? Base64 string encoder/decoder
To Reproduce Enter Base64 string encoder/decoder, enter text (Chinese/Japanese/Korean, etc.) in the string to encode field.
Expected behavior Base64 of string field will disappear.
Screenshots
Configuration (please complete the following information):
- Device: Macbook Pro 2020
- OS: macOS 12.5.1
- Browser: Chrome
- Version 113
Windows. btoa does not support ANSI type text encoding I added window. btoa (unescape (encodeURIComponent (str))); And decodeURIComponent (escape (window. atob (str)); #732
Hi @jasoncheng7115 and @CorentinTh, fixed in #905
Solved in #905