1 // Common/UTFConvert.h 2 3 #ifndef __COMMON_UTF_CONVERT_H 4 #define __COMMON_UTF_CONVERT_H 5 6 #include "MyString.h" 7 8 bool CheckUTF8(const char *src, bool allowReduced = false) throw(); 9 bool ConvertUTF8ToUnicode(const AString &utfString, UString &resultString); 10 void ConvertUnicodeToUTF8(const UString &unicodeString, AString &resultString); 11 12 #endif 13