[Qt-interest] Have QXmlStreameWriter write the encoding information

Aleksandar Lazic al-qtinterest at none.at
Sun May 31 16:01:33 CEST 2009


On Sam 30.05.2009 12:05, Marc Balmer wrote:
>
>Soe does anyone on this list have an idea how I can get the encoding
>information to be written?  Or is it time to file a bug report?

Yust a guess, from the source:

src/corelib/xml/qxmlstream.cpp

http://doc.qtsoftware.com/4.5/qxmlstreamwriter.html#setCodec-2

QXmlStreamWriter::setCodec ("UTF-8");

BR

Aleks



More information about the Qt-interest-old mailing list