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