[PyQt] QString to str auto-conversion issue with SMP codepoints

Shriramana Sharma samjnaa at gmail.com
Sat Jan 4 17:38:57 GMT 2014


On Sat, Jan 4, 2014 at 10:58 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> Should be fixed in tonights PyQt4 and PyQt5 snapshots.

Hi Phil! That was relatively quick work as usual! :-)

Will we have this in PyQt4 4.10.4 then?

Also, I presume you have also taken care of the reverse conversion
i.e. a Python string having a trans-BMP char like \U00011005 would be
automatically converted to the surrogate pair when being sent to
QString in C++/Qt, right? (Probably silly question...)

Thanks a lot!

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


More information about the PyQt mailing list