MinGW字符编码转换的坑

#include <windows.h> #include <iostream> #include <locale> #include <codecvt> #include <fstream> #include <boost/locale.hpp> // "你好啊"的UTF8编码 std::string s{"\xE4\xBD\xA0\xE5\xA5\xBD\xE5\x95\x8A"}; vo
相关文章
相关标签/搜索