SublimeStringEncode icon indicating copy to clipboard operation
SublimeStringEncode copied to clipboard

base64encode command will change multibyte string into unicode string first, and then do the encoding

Open jjsty1e opened this issue 4 years ago • 1 comments

for example(Chinese words):

百度

command: StringEncoding: Base64 Decode, got:

XHU3NjdlXHU1ZWE2

actually it's the result of \u767e\u5ea6, the right result is below:

55m+5bqm

jjsty1e avatar Jul 19 '21 06:07 jjsty1e

or maybe we don't need this raw unicode encoding?

https://github.com/colinta/SublimeStringEncode/blob/875ad7656257000af8ebd219ada3c9e592ad5679/string_encode.py#L275

jjsty1e avatar Jul 19 '21 06:07 jjsty1e