carb::extras::convertUtf8StringToUtf16

Defined in carb/extras/Utf8Parser.h

inline std::u16string carb::extras::convertUtf8StringToUtf16(std::string str)

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

Parameters

str[in] The input UTF-8 string to convert.

Returns

str converted to UTF-16.