Minimal UTF-8 TextEncoder polyfill.
TextEncoder
Encodes a JavaScript string into a UTF-8 Uint8Array. Handles the full BMP and supplementary planes (surrogate pairs).
Uint8Array
Readonly
The encoding used by this encoder, always "utf-8".
"utf-8"
Encode a string into a UTF-8 Uint8Array.
Minimal UTF-8
TextEncoderpolyfill.Encodes a JavaScript string into a UTF-8
Uint8Array. Handles the full BMP and supplementary planes (surrogate pairs).