utf-8、ANSI、Unicode相互转化c++实现
std::string ConverANSI2UTF8(const std::string & str);
std::wstring ConverANSI2Unicode(const std::string str);
std::wstring ConverUTF82Unicode(const std::string str);
std::string ConverUnicode2UTF8(const std::wstring str);
std::string ConverUnicode2ANSI(const std::wstring str);
std::string ConverUTF82ANSI(const std::string str);
2021-11-17 19:14:40
1KB
字符编码转换
1