Skip to main content

Module encoding

Module encoding 

Source

Enums§

Encoding
Explicit text encodings; unmarked input is interpreted as UTF-8.
Error
Invalid Unicode, unsupported UTF-32, or a caller-specified byte limit.

Functions§

decode
Decode without replacement characters or guessed legacy code pages.
encode
Encode Unicode; UTF-16 output always includes its byte-order mark.