dlib.text.utf16

UTF-16 decoder and encoder

Members

Functions

convertUTF16ztoUTF8
char[] convertUTF16ztoUTF8(wchar* s, bool nullTerm)

Converts UTF-16 zero-terminated string to UTF-8

convertUTF8toUTF16
wchar[] convertUTF8toUTF16(string s, bool nullTerm)

Converts UTF-8 to UTF-16 Will be deprecated soon, use transcode!(UTF8Decoder, UTF16LEEncoder) instead

Structs

UTF16LEDecoder
struct UTF16LEDecoder

UTF-16 LE decoder to use with dlib.text.encodings.transcode

UTF16LEEncoder
struct UTF16LEEncoder

UTF-16 LE encoder to use with dlib.text.encodings.transcode

Variables

UTF16_BOM_BE
enum ushort UTF16_BOM_BE;
Undocumented in source.
UTF16_BOM_LE
enum ushort UTF16_BOM_LE;
Undocumented in source.
UTF16_HI_SURROGATE
enum ushort UTF16_HI_SURROGATE;
Undocumented in source.
UTF16_LO_SURROGATE
enum ushort UTF16_LO_SURROGATE;
Undocumented in source.

Meta

Authors

Timur Gafarov, Roman Chistokhodov