C++ 编码转换 C++ 编码转换flyfish 2015-8-21 std::string raw_string="汉字 this is string"; //GBK to UFT8 std::string utf8_string1 = boost::locale::conv::to_utf<char>(raw_string,"GBK"); std::string utf8_string # C++ 2023-08-30 54 点赞 0 评论 81 浏览