convertUtf8StringToWide#

Fully qualified name: carb::extras::convertUtf8StringToWide

Defined in carb/extras/Utf8Parser.h

inline std::wstring carb::extras::convertUtf8StringToWide(
cpp::string_view str,
)#

Convert a UTF-8 encoded string to a wide string.

Note

This is provided for interoperability with older systems that still use wide strings. Please use UTF-8, UTF-16 or UTF-32 for new systems.

Parameters:

str[in] The input UTF-8 string to convert.

Returns:

str converted to wide.