将带有 OS 的默认代码页的字符串转换为 UTF-16 字符串。
_ASYNCRTIMP utf16string __cdecl default_code_page_to_utf16(
const std::string &s
);
参数
- s
要求
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions
将带有 OS 的默认代码页的字符串转换为 UTF-16 字符串。
_ASYNCRTIMP utf16string __cdecl default_code_page_to_utf16(
const std::string &s
);
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions