00001
00002
00003 #ifndef OSL_ICONVCONVERT_H
00004 #define OSL_ICONVCONVERT_H
00005
00006 #include <string>
00007
00008 namespace osl
00009 {
00010 namespace misc
00011 {
00012 struct IconvConvert
00013 {
00014 static std::string eucToLang(const std::string& src);
00015 static std::string convert(const std::string& fromcode,
00016 const std::string& tocode,
00017 const std::string& src);
00018
00019 static std::string langToIconvCode(const std::string& lang);
00020 private:
00021 struct IconvCD;
00022 static std::string convert(IconvCD& cd,
00023 const std::string& src);
00024 };
00025 }
00026 using misc::IconvConvert;
00027 }
00028
00029 #endif
00030
00031
00032
00033