BloombergLP::bdlde::CharConvertUtf32

Namespace for static functions that convert between UTF-8 and UTF-32.

Synopsis

Declared in <bdlde_charconvertutf32.h>

struct CharConvertUtf32;

Description

This struct provides a namespace for a suite of static functions to convert buffers between UTF-8 and UTF-32. Byte Order Mark (BOM) code points are neither generated nor recognized as special, and thus may be incorrect for the actual byte order of output. If a BOM is present in the input, it will be translated, whether correct (0xfeff) or incorrect (0xfffe), into the output without any special handling.

Static Member Functions

NameDescription
utf32ToUtf8 utf32ToUtf8 overloads
utf8ToUtf32 utf8ToUtf32 overloads