Rapidxml and UTF8

本秂侑毒 提交于 2019-12-24 23:01:49

问题


I am using RapidXML, but I need to write my strings as UTF8, in Rapidxml Manual was explained it supports UTF8 , please tell me how can I use it via C++ ISO ?


回答1:


The default mode of operation for RapidXML is to handle UTF-8 input. You would have to disable this explicitly using parse_no_utf8 to get other behaviour.

Parse flag instructing the parser to disable UTF-8 handling and assume plain 8 bit characters. By default, UTF-8 handling is enabled.



来源:https://stackoverflow.com/questions/4352224/rapidxml-and-utf8

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!