C++ cocos2d-x pugi xml法语单词

C++ cocos2d-x pugi xml法语单词,c++,cocos2d-x,pugixml,C++,Cocos2d X,Pugixml,我在用法语解析xml文档时遇到了一些问题。 例如pêche 解析之后,我有了这个:“p\xc3\xaache”而不是“pêche” 这是我的密码: for(pugi::xml_node child = parent.first_child(); child; child = child.next_sibling()){ std::string desc = child.child_value("word"); } 有什么建议吗? Tnx.这是pê

我在用法语解析xml文档时遇到了一些问题。 例如pêche 解析之后,我有了这个:“p\xc3\xaache”而不是“pêche”

这是我的密码:

    for(pugi::xml_node child = parent.first_child(); child; child = child.next_sibling()){
                    std::string desc = child.child_value("word");
}
有什么建议吗?
Tnx.

这是
pêche
的转义码,您有什么问题?如何将其转换为普通字符?