Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Classes | |
class | UTF8Codec |
Typedefs | |
typedef u8 | UTF8 |
typedef u32 | UTF32 |
Functions | |
STATUS_ADD_DEFINITIONS (utf8StatusDefinitions) | |
static UTF32 | RaiseError (Status err, Status *perr) |
static UTF32 | ReplaceIfInvalid (UTF32 u, Status *err) |
std::string | utf8_from_wstring (const std::wstring &src, Status *err) |
opposite of wstring_from_utf8 More... | |
std::wstring | wstring_from_utf8 (const std::string &src, Status *err) |
convert UTF-8 to a wide string (UTF-16 or UCS-4, depending on the platform's wchar_t). More... | |
Variables | |
static const StatusDefinition | utf8StatusDefinitions [] |
STATUS_ADD_DEFINITIONS | ( | utf8StatusDefinitions | ) |
std::string utf8_from_wstring | ( | const std::wstring & | src, |
Status * | err | ||
) |
opposite of wstring_from_utf8
std::wstring wstring_from_utf8 | ( | const std::string & | s, |
Status * | err = 0 |
||
) |
convert UTF-8 to a wide string (UTF-16 or UCS-4, depending on the platform's wchar_t).
s | input string (UTF-8) |
err | if nonzero, this receives the first error encountered (the rest may be subsequent faults) or INFO::OK if all went well. otherwise, the function raises a warning dialog for every error/warning. |
|
static |