Closed lygstate closed 8 years ago
Can you provide the error as a code sample? I'm not sure how you intend that string to be interpreted. (As a sequence of ASCII bytes? etc)
No feedback, closing.
This is an RFC 2047 "encoded-word", written in the "B" (base64) encoding. So it's basically:
new TextDecoder('gb18030').decode(
Uint8Array.from(
atob('lDnaMw=='),
(ch) => (ch.codePointAt(0))))
// "💩"
Thanks for providing the repro!
The following GB18030 decode incorrect.
=?GB18030?B?lDnaMw==?=: