carb::extras::convertUtf16StringToUtf8¶
Defined in carb/extras/Utf8Parser.h
-
inline std::string
carb::extras
::
convertUtf16StringToUtf8
(const char16_t *str)¶ Convert a UTF-16 encoded string to UTF-8.
- Parameters
str – [in] The input UTF-16 string to convert. This may not be
nullptr
.- Returns
str
converted to UTF-8.