cocos2dx-3.16 vs2015中文编码乱码怎么解决?--已解决

转UTF-8怎么转? cpp-texts 为什么没有乱码? cpp-empty-text就有乱码?

建议使用vscode

auto strings = FileUtils::getInstance()->getValueMapFromFile(“strings.xml”);
std::string chinese = strings[“chinese1”].asString();

xml文件 最好 再用记事本另存为UTF-8格式