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.

All labels observed (1)

Label Occurrences
Encoding API canonical 2

How this entity was disambiguated

Statements (53)

Predicate Object
instanceOf Web API
Web platform feature
availableInContext ServiceWorker
Window
Worker
definedIn WHATWG Encoding Living Standard
enables conversion between strings and byte sequences
exposesInterface TextDecoder
TextDecoderStream
TextEncoder
TextEncoderStream
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
linked to: Web APIs

Web Platform
linked to: Web platform
primaryEncoding UTF-8
providesInterfaceFor text decoding
text encoding
relatedTo Fetch API
File API
Streams API
replaces legacy DOMString-based encoding APIs
standardizedIn WHATWG Encoding Standard
supportsEncoding big5
euc-kr
gbk
iso-2022-jp
iso-8859-2
koi8-r
koi8-u
macintosh
linked to: Mac

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
usedFor interoperability with legacy systems
processing file contents
processing network responses

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

Open Web Platform hasComponent Encoding API
TextDecoderStream partOf Encoding API