Module dlib.text.utf16

UTF-16 decoder and encoder

Functions

NameDescription
convertUTF16ztoUTF8(s, nullTerm) Converts UTF-16 zero-terminated string to UTF-8
convertUTF8toUTF16(s, nullTerm) Converts UTF-8 to UTF-16 Will be deprecated soon, use transcode!(UTF8Decoder, UTF16LEEncoder) instead

Structs

NameDescription
UTF16LEDecoder UTF-16 LE decoder to use with dlib.text.encodings.transcode
UTF16LEEncoder UTF-16 LE encoder to use with dlib.text.encodings.transcode