UCS2 conversion for unreal
This commit is contained in:
@@ -63,6 +63,10 @@ std::string to_utf8(const std::u32string &cps);
|
||||
//
|
||||
std::u32string from_utf8(std::string_view source, int *consumed);
|
||||
|
||||
// Convert a UTF8 string to a UCS-2 string.
|
||||
//
|
||||
std::u16string utf8_to_ucs2(std::string_view source, int *consumed);
|
||||
|
||||
// Get a system error message, in an OS-independent manner.
|
||||
//
|
||||
// These versions of strerror is thread-safe, and it never fails
|
||||
|
||||
Reference in New Issue
Block a user