|
yast2-core
|
00001 00002 00003 /* 00004 * Author: Arvin Schnell <arvin@suse.de> 00005 */ 00006 00007 00008 #ifndef _y2string_h 00009 #define _y2string_h 00010 00011 00012 #include <iconv.h> 00013 00014 #include <string> 00015 00016 00017 bool 00018 recode (iconv_t cd, const std::string& in, std::string* out); 00019 00020 bool 00021 recode (iconv_t cd, const std::string& in, std::wstring* out); 00022 00023 bool 00024 recode (iconv_t cd, const std::wstring& in, std::string* out); 00025 00026 bool 00027 recode (iconv_t cd, const std::wstring& in, std::wstring* out); 00028 00029 00041 bool 00042 utf82wchar (const std::string& in, std::wstring* out); 00043 00044 00056 bool 00057 wchar2utf8 (const std::wstring& in, std::string* out); 00058 00059 00060 #endif
1.7.3