共用方式為


latin1_to_utf16 函式

將 Latin1 (iso-8859-1) 字串轉換為 UTF-16 字串。

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

參數

  • s

需求

**標頭:**asyncrt_utils.h

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

請參閱

參考

utility::conversions 命名空間