Function utf8ToWide

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

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

Parameters

str

String to convert
Return value
std::wstring

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

Examples0