carb::extras::convertUtf8StringToUtf16

Defined in carb/extras/Utf8Parser.h

inline std::u16string carb::extras::convertUtf8StringToUtf16(const char *str)

Convert a UTF-8 encoded string to UTF-16.

Parameters

str[in] The input UTF-8 string to convert. This may not be nullptr.

Returns

str converted to UTF-16.