Function utf32ToUtf8

#include <Geode/utils/string.hpp>geode::Result<std::string>utf32ToUtf8()

Convert UTF-32 string to UTF-8

Parameters

str

UTF-32 string view
Return value
UTF-8 encoded std::string, or an error
Examples0