Geode Docs
Tutorials
Classes
Function
utf16ToUtf8
#include
<Geode/utils/string.hpp>
geode
::
Result
<
std
::
string
>
utf16ToUtf8
(
std
::
u16string_view
str
)
Convert UTF-16 string to UTF-8
Parameters
str
UTF-16 string view
Return value
UTF-8 encoded std::string, or an error
Examples
0