const Status UTF8_SURROGATE
Definition: utf8.h:31
const Status UTF8_OUTSIDE_BMP
Definition: utf8.h:32
const Status UTF8_NONCHARACTER
Definition: utf8.h:33
const Status UTF8_INVALID_UTF8
Definition: utf8.h:34
i64 Status
Error handling system.
Definition: status.h:173
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).
Definition: utf8.cpp:229
std::string utf8_from_wstring(const std::wstring &s, Status *err=0)
opposite of wstring_from_utf8
Definition: utf8.cpp:212