[Qt-interest] Have QXmlStreameWriter write the encoding information

Marc Balmer marc at msys.ch
Fri May 29 14:16:40 CEST 2009


Hi

When I create a XML data stream using QXmlStreamWriter, my stream  
starts with

<?xml version="1.0"?>

How can I add the encoding information, so that I get

<?xml version="1.0" encoding="UTF-8"?>

Any hints appreciated!

-Marc Balmer




More information about the Qt-interest-old mailing list