00001 #ifndef RAGEUTIL_CHAR_CONVERSIONS_H 00002 #define RAGEUTIL_CHAR_CONVERSIONS_H 00003 00004 /* Convert a string to UTF-8 from the first possible encoding in the given comma- 00005 * separated list of encodings. The only valid strings are "japanese" and "korean". 00006 * Return true if the conversion was successful (or a no-op). Return false and 00007 * leave the string unchanged if the conversion was unsuccessful. */ 00008 bool ConvertString(CString &str, const CString &encodings); 00009 00010 #endif