[PyQt] QtextBrowser.toPlainText bug (Python 3, Linux only)

Edward K. Ream edreamleo at gmail.com
Thu Mar 5 15:42:30 GMT 2015


Hello all,

Not sure whether this it the right place to report this.  It may well be a
Qt bug.

On Python 3 only (3.4.0) and PyQt 5.2.1, QTextBrowser.toPlainText() returns
a unicode (Python 3 str) string with a value that does not match the value
shown in the QTextBrowser!  For example, the widget shows: Text: ÷ Σ but
toPlainText returns Text: ÷ £

All is well on Windows and on all platforms with Python 2.7.

​Is this a known issue here?

Thanks,​

​Edward​
------------------------------------------------------------------------------------------
Edward K. Ream: edreamleo at gmail.com Leo: http://leoeditor.com/
------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150305/f72bde8c/attachment.html>


More information about the PyQt mailing list