When using the QXmlStreamWriter to write out an XML file, where one of the 
sections is a DateTime Field, and the system is non-UTF8 (Japanese in my 
customer case) the XML generated via

writer.writeCharacters( dateTime.toString() )

Produces XML that cant be read in via QXmlStreamReader

Now, I am guessing, that I have to setup the writer with the proper codec via 
writer.setCodec( )

The problem is, how do I get the name of the codec properly?  
QTExtCodec::codecForLocale returns "System".

How do I get the proper codec that will actually be needed to generate proper 
XML?

Scott
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to