c++中使用std标准库转换字符utf-8编码 std::string gb2312_to_utf8(std::string const &strGb2312) { std::vector<wchar_t> buff(strGb2312.size()); #ifdef _MSC_VE 2019-03-21 20:05