
Browser
Encoding APIs: TextEncoder and TextDecoder
How TextEncoder and TextDecoder convert strings and UTF-8 bytes in JavaScript: encodeInto, other encodings, fatal mode, BOMs and chunked decoding.
8 min read
Tag
1 post

How TextEncoder and TextDecoder convert strings and UTF-8 bytes in JavaScript: encodeInto, other encodings, fatal mode, BOMs and chunked decoding.