Classes | |
class | boost::locale::conv::conversion_error |
The excepton that is thrown in case of conversion error. More... | |
Enumerations | |
enum | boost::locale::conv::method_type { boost::locale::conv::skip = 0, boost::locale::conv::stop = 1, boost::locale::conv::default_method = skip } |
Functions | |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (char const *begin, char const *end, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (CharType const *begin, CharType const *end, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (char const *begin, char const *end, std::locale const &loc, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (CharType const *begin, CharType const *end, std::locale const &loc, method_type how=default_method) |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (std::string const &text, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (std::basic_string< CharType > const &text, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (char const *text, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (CharType const *text, std::string const &charset, method_type how=default_method) |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (std::string const &text, std::locale const &loc, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (std::basic_string< CharType > const &text, std::locale const &loc, method_type how=default_method) |
template<typename CharType> | |
std::basic_string< CharType > | boost::locale::conv::to_utf (char const *text, std::locale const &loc, method_type how=default_method) |
template<typename CharType> | |
std::string | boost::locale::conv::from_utf (CharType const *text, std::locale const &loc, method_type how=default_method) |
enum that defines conversion policy
skip | Skip illegal/unconvertable characters. |
stop | Stop conversion and throw conversion_error. |
default_method | Default method - skip. |
std::string boost::locale::conv::from_utf | ( | CharType const * | text, | |
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text in UTF to locale encoding given by loc
std::string boost::locale::conv::from_utf | ( | std::basic_string< CharType > const & | text, | |
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text in UTF to locale encoding given by loc
std::string boost::locale::conv::from_utf | ( | CharType const * | text, | |
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text from UTF to charset
std::string boost::locale::conv::from_utf | ( | std::basic_string< CharType > const & | text, | |
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text from charset to UTF string
std::string boost::locale::conv::from_utf | ( | CharType const * | begin, | |
CharType const * | end, | |||
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
convert UTF text in range [begin,end) to a text encoded according to locale loc according to policy how
std::string boost::locale::conv::from_utf | ( | CharType const * | begin, | |
CharType const * | end, | |||
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
convert UTF text in range [begin,end) to a text encoded with charset according to policy how
std::basic_string<CharType> boost::locale::conv::to_utf | ( | char const * | text, | |
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text in locale encoding given by loc to UTF
std::basic_string<CharType> boost::locale::conv::to_utf | ( | std::string const & | text, | |
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text in locale encoding given by loc to UTF
std::basic_string<CharType> boost::locale::conv::to_utf | ( | char const * | text, | |
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
Convert a text from charset to UTF string
std::basic_string<CharType> boost::locale::conv::to_utf | ( | std::string const & | text, | |
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
convert a string text encoded with charset to UTF string
std::basic_string<CharType> boost::locale::conv::to_utf | ( | char const * | begin, | |
char const * | end, | |||
std::locale const & | loc, | |||
method_type | how = default_method | |||
) | [inline] |
convert string to UTF string from text in range [begin,end) encoded according to locale loc according to policy how
std::basic_string<CharType> boost::locale::conv::to_utf | ( | char const * | begin, | |
char const * | end, | |||
std::string const & | charset, | |||
method_type | how = default_method | |||
) | [inline] |
convert string to UTF string from text in range [begin,end) encoded with charset according to policy how