Function wideToUtf8

#include <Geode/utils/string.hpp>std::stringwideToUtf8()

Convert std::wstring to std::string (UTF-8)

Parameters

str

String to convert
Return value
std::string

ℹ The purpose of this method is only for wide winapi methods, as the conversion may be lossy.

Examples0