Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.8.0, 4.8.2, 5.0.0 Beta 1
-
None
-
windows 7 x64
visual c++ 2010
-
035d93a6e1cbde76d34866ffd9b39633572e6236 169ba759c536fcd807ee061e1831e4502a5f1416
Description
A regression has occured since 4.7
when executing this code i get an invalid xml file with 4.8
QFile f("c:/temp/toto.xml"); f.open(QIODevice::WriteOnly); QXmlStreamWriter xml; xml.setDevice(&f); xml.setCodec("UTF-16"); xml.writeStartDocument(); xml.writeStartElement(QString::fromWCharArray(L"Categories")); xml.writeEndDocument(); f.close();
Attachments
Issue Links
- is required for
-
QTBUG-27426 Qt 5.0 Final release tasks
- Closed
For Gerrit Dashboard: QTBUG-23310 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
40173,1 | Fix regression in QXmlStreamWriter with codec set to UTF-16 | 4.8 | qt/qt | Status: MERGED | +2 | 0 |