to_utf8string Function

Decode to UTF-8 from either a narrow or wide string.

_ASYNCRTIMP std::string __cdecl to_utf8string(
   const std::string &value
);

_ASYNCRTIMP std::string __cdecl to_utf8string(
   const utf16string &value
);

Parameters

  • value

Requirements

Header: asyncrt_utils.h

Namespace: utility::conversions

See Also

Reference

utility::conversions Namespace