Rapidxml and UTF8

2019-09-19 00:30发布

问题:

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.