Lines Matching refs:charset
66 char const *charset, in convert_to() argument
72 if(cvt->open(charset,how)) in convert_to()
77 if(cvt->open(charset,how)) in convert_to()
82 if(cvt->open(charset,how)) in convert_to()
85 throw invalid_charset_error(charset); in convert_to()
92 char const *charset, in convert_from() argument
98 if(cvt->open(charset,how)) in convert_from()
103 if(cvt->open(charset,how)) in convert_from()
108 if(cvt->open(charset,how)) in convert_from()
111 throw invalid_charset_error(charset); in convert_from()
116 std::string charset; in normalize_encoding() local
117 charset.reserve(std::strlen(ccharset)); in normalize_encoding()
121 charset+=c; in normalize_encoding()
123 charset+=c; in normalize_encoding()
125 charset+=char(c-'A'+'a'); in normalize_encoding()
127 return charset; in normalize_encoding()
142 …c_string<char> to_utf(char const *begin,char const *end,std::string const &charset,method_type how) in to_utf() argument
144 return convert_to<char>(begin,end,charset.c_str(),how); in to_utf()
148 … std::string from_utf(char const *begin,char const *end,std::string const &charset,method_type how) in from_utf() argument
150 return convert_from<char>(begin,end,charset.c_str(),how); in from_utf()
154 …tring<wchar_t> to_utf(char const *begin,char const *end,std::string const &charset,method_type how) in to_utf() argument
156 return convert_to<wchar_t>(begin,end,charset.c_str(),how); in to_utf()
160 …std::string from_utf(wchar_t const *begin,wchar_t const *end,std::string const &charset,method_typ… in from_utf() argument
162 return convert_from<wchar_t>(begin,end,charset.c_str(),how); in from_utf()
167 …ring<char16_t> to_utf(char const *begin,char const *end,std::string const &charset,method_type how) in to_utf() argument
169 return convert_to<char16_t>(begin,end,charset.c_str(),how); in to_utf()
173 …ring from_utf(char16_t const *begin,char16_t const *end,std::string const &charset,method_type how) in from_utf() argument
175 return convert_from<char16_t>(begin,end,charset.c_str(),how); in from_utf()
181 …ring<char32_t> to_utf(char const *begin,char const *end,std::string const &charset,method_type how) in to_utf() argument
183 return convert_to<char32_t>(begin,end,charset.c_str(),how); in to_utf()
187 …ring from_utf(char32_t const *begin,char32_t const *end,std::string const &charset,method_type how) in from_utf() argument
189 return convert_from<char32_t>(begin,end,charset.c_str(),how); in from_utf()