Why can't I parse a XML file using QXmlStreamReader from Qt?

后端 未结 5 1784
长发绾君心
长发绾君心 2021-02-14 06:43

I\'m trying to figure out how QXmlStreamReader works for a C++ application I\'m writing. The XML file I want to parse is a large dictionary with a convoluted structure and plent

5条回答
  •  一生所求
    2021-02-14 06:45

    The file is not UTF-8 encoded. Change the encoding to iso-8859-1 and it will parse without error.

    
    

提交回复
热议问题