TextEncoder, TextDecoder, TextEncoderStream, and TextDecoderStream are globals and follow the
Encoding Standard. TextDecoder accepts the standard labels for UTF-8, UTF-16,
the legacy single-byte encodings, and the CJK encodings; an unknown label throws RangeError.
Encoding
The TextEncoder, TextDecoder, TextEncoderStream, and TextDecoderStream globals.