boost::text::format
// In header: <boost/text/utf.hpp> enum format { utf8 = = 1, utf16 = = 2, utf32 = = 4 };
The Unicode Transformation Formats.