Share via


utf8_to_utf16 函式

將 UTF-8 字串轉換成 UTF-16。

_ASYNCRTIMP utf16string __cdecl utf8_to_utf16(
   const std::string &s
);

參數

  • s

需求

**標頭:**asyncrt_utils.h

**命名空間:**utility::conversions

請參閱

參考

utility::conversions 命名空間