开发者

Sample code for Unicode XML parsing using PugiXML

开发者 https://www.devze.com 2022-12-14 21:50 出处:网络
I have tried to find some code fo开发者_JS百科r this job in the tutorials and by googling, no luck.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号