[Interest] QDateTime + QXmlStreamWriter on non-UTF8 compatible systems

Scott Bloom scott at towel42.com
Tue Dec 26 12:14:22 CET 2017


On sexta-feira, 22 de dezembro de 2017 19:30:39 -02 Scott Bloom wrote:
> Completely disagree.  The documentation clearly states the encoding is 
> written out, and its not.  That is a problem.  The assumption is that 
> the QString will be the final destination, that assumption is not 
> documented, and not always true.

What would you have it write?
====
If I set the encoding, I would expect it to use that encoding.  It doesn't.  When using QString, all encoding settings are ignored.  That to me is a problem, at a minimum it should be documented as the expected and correct behavior.

If I set the encoding to "UTF-8" and the target is a QString, it should encode to UTF-8 in the QString.

Scott



More information about the Interest mailing list