Boost.Nowide
boost::nowide::utf8_codecvt< CharType, CharSize > Class Template Reference

#include <boost/nowide/utf8_codecvt.hpp>

Detailed Description

template<typename CharType, int CharSize = sizeof(CharType)>
class boost::nowide::utf8_codecvt< CharType, CharSize >

std::codecvt implementation that converts between UTF-8 and UTF-16 or UTF-32

Template Parameters
CharSizeDetermines the encoding: 2 for UTF-16, 4 for UTF-32

Invalid sequences are replaced by BOOST_NOWIDE_REPLACEMENT_CHARACTER A trailing incomplete sequence will result in a return value of std::codecvt::partial


The documentation for this class was generated from the following file: