库将unicode字符串存储为。
std::vector<unsigned short> ustring;
如何以便携方式进行这些转换?
convert ustring to std::wstring;
convert ustring to std::string;
convert ustring to std::vector<unsigned char>;
convert std::vector<unsigned char> to ustring;
编辑
字符串可能是UTF-16而不是UTF-8