📅  最后修改于: 2022-03-11 14:44:54.609000             🧑  作者: Mango
#include
#include
#include
std::wstring_convert> converter;
std::string narrow = converter.to_bytes(wide_utf16_source_string);
std::wstring wide = converter.from_bytes(narrow_utf8_source_string);