Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.2.0
-
None
-
Arch Linux 64bit 3.12.6
Gnome 3.10.1
Qt 5.2.0
Using GtkStyle
-
qtbase: 753b472cb851bf12033b1e3ae663b4bdd056d1ef
Description
When wrapping a part of a text with a bidirectional control native mark, all Latin letters have a Ceasar shift of -2 (ROT-2).
Following code snippet shows: "?@AVWX" instead of "ABC XYZ"
QTextCursor cur = ... const QString nativeMark = QString::fromUtf8( "\xe2\x80\x8e" ); cur.insertHtml("<b>"+ nativeMark + "ABC XYZ" + nativeMark + "</b>");
It seems that if I mark the text and copy paste the string somewhere else, the correct string is pasted.