共用方式為


utf16_to_utf8 函式

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

_ASYNCRTIMP std::string __cdecl utf16_to_utf8(
   const utf16string &w
);

參數

  • w

需求

**標頭:**asyncrt_utils.h

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

請參閱

參考

utility::conversions 命名空間