C++ <cuchar>

The C++ <cuchar> header file declares a set of functions to convert between multibyte characters and UTF-16 or UTF-32.

C++ c16rtomb()

converts 16 bit char to narrow multibyte char

C++ c32rtomb()

converts 32 bit char to narrow multibyte char

C++ mbrtoc16()

converts narrow multibyte char to 16 bit char

C++ mbrtoc32()

converts narrow multibyte char to 32 bit char