Encoding API
E856229
The Encoding API is a web platform interface that enables JavaScript applications to convert text between strings and various character encodings efficiently and reliably.
Statements (53)
| Predicate | Object |
|---|---|
| instanceOf |
Web API
ⓘ
Web platform feature ⓘ |
| availableInContext |
ServiceWorker
ⓘ
Window ⓘ Worker ⓘ |
| definedIn | WHATWG Encoding Living Standard NERFINISHED ⓘ |
| enables | conversion between strings and byte sequences ⓘ |
| exposesInterface |
TextDecoder
NERFINISHED
ⓘ
TextDecoderStream NERFINISHED ⓘ TextEncoder NERFINISHED ⓘ TextEncoderStream NERFINISHED ⓘ |
| goal |
efficient text encoding and decoding
ⓘ
reliable character encoding conversions ⓘ |
| handles |
Unicode text
ⓘ
legacy single-byte encodings ⓘ multi-byte encodings ⓘ |
| partOf |
Web APIs for JavaScript
NERFINISHED
ⓘ
Web Platform NERFINISHED ⓘ |
| primaryEncoding | UTF-8 ⓘ |
| providesInterfaceFor |
text decoding
ⓘ
text encoding ⓘ |
| relatedTo |
Fetch API
NERFINISHED
ⓘ
File API NERFINISHED ⓘ Streams API NERFINISHED ⓘ |
| replaces | legacy DOMString-based encoding APIs ⓘ |
| standardizedIn | WHATWG Encoding Standard NERFINISHED ⓘ |
| supportsEncoding |
big5
ⓘ
euc-kr ⓘ gbk ⓘ iso-2022-jp ⓘ iso-8859-2 ⓘ koi8-r ⓘ koi8-u ⓘ macintosh NERFINISHED ⓘ shift_jis ⓘ utf-16be ⓘ utf-16le ⓘ utf-8 ⓘ windows-1250 ⓘ windows-1251 ⓘ windows-1252 ⓘ windows-1253 ⓘ windows-1254 ⓘ windows-1255 ⓘ windows-1256 ⓘ windows-1257 ⓘ windows-1258 ⓘ |
| supportsFeature |
streaming text decoding
ⓘ
streaming text encoding ⓘ |
| supportsLanguage | JavaScript NERFINISHED ⓘ |
| usedFor |
interoperability with legacy systems
ⓘ
processing file contents ⓘ processing network responses ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.