Sample code for Unicode XML parsing using PugiXML
I have tried to find some code fo开发者_JS百科r this job in the tutorials and by googling, no luck.
If someone has used PugiXml, could you please help me out ?
My main trouble is Unicode, otherwise the library is very easy to use.
Thanks in advance.
Open pugiconfig.hpp and uncomment PUGIXML_WCHAR_MODE.
Now you can use wchar_t and std::wstring instead of char and std::string respectively.
Quick Start is here: http://pugixml.googlecode.com/svn/tags/latest/docs/quickstart.html
精彩评论