Interfaces
TextDecoder-
A decoder to convert a byte array containing a particular encoding into a JavaScript string.
TextDecoderStream-
A decoder to convert a byte stream containing a particular encoding into a stream of JavaScript strings.
TextEncoder-
An encoder to convert a JavaScript string into an array of bytes representing the UTF-8 encoding of the string.
TextEncoderStream-
An encoder to convert a stream of JavaScript strings into a stream of bytes representing the UTF-8 encoding of the strings.
Specifications
| Specification |
|---|
| Encoding |
Browser compatibility
api.TextDecoder
api.TextEncoder
api.TextEncoderStream
api.TextDecoderStream
See also
- Encoding API Encodings - Encodings that must be supported for decoding text.