Files
itgmania212121/src/RageUtil_CharConversions.h
T
2011-03-17 01:47:30 -04:00

13 lines
510 B
C

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