Etterna
0.74.4
Loading...
Searching...
No Matches
src
RageUtil
Utils
RageUtil_CharConversions.h
1
/* ConvertString - Convert a string to UTF-8. */
2
3
#ifndef RAGEUTIL_CHAR_CONVERSIONS_H
4
#define RAGEUTIL_CHAR_CONVERSIONS_H
5
6
/* Convert a string to UTF-8 from the first possible encoding in the given
7
* comma- separated list of encodings. The only valid strings are "japanese"
8
* and "korean". Return true if the conversion was successful (or a no-op).
9
* Return false and leave the string unchanged if the conversion was
10
* unsuccessful. */
11
bool
12
ConvertString(std::string& str,
const
std::string& encodings);
13
14
#endif
Generated by
1.9.8