UTF8Encoder

UTF-8 encoder to use with dlib.text.encodings.transcode

Members

Functions

encode
size_t encode(uint c, char[] buffer)

Encodes a Unicode code point to UTF-8 into user-provided buffer. Returns number of bytes written, or 0 at error.

Meta