Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QXmlStreamReader and QXmlStreamWriter processing the apostroph sing differently.
haese last edited by
I'm reading a .ts file generated by lupdate version 5.1.1 with QXmlStreamReader. The .ts file contains the string @'@
to escape the "apostroph sign":http://www.fileformat.info/info/unicode/char/27/index.htm .
returns the apostroph unescaped "'" properly.
When I use the function
to write a "'" it will not be converted to
Other escaped signs e.g. ">" and its escape sequence will be interpreted properly by both classes.
This is not the similar behaviour I'm expected.
I don't know if this is a bug, or If I'm using the classes unintentional.
Hi and welcome to devnet,
I think this might indeed be a bug, so I've created a "bug report":https://bugreports.qt-project.org/browse/QTBUG-33643 a potential fix is currently waiting for review