Function utf16ToUtf8

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

Convert UTF-16 string to UTF-8

Parameters

str

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