Skip to main contentModule encoding
Source - Encoding
- Explicit text encodings; unmarked input is interpreted as UTF-8.
- Error
- Invalid Unicode, unsupported UTF-32, or a caller-specified byte limit.
- decode
- Decode without replacement characters or guessed legacy code pages.
- encode
- Encode Unicode; UTF-16 output always includes its byte-order mark.