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

Phil Thompson phil at riverbankcomputing.com
Sat Jan 4 22:06:41 GMT 2014

On 04-01-2014 5:38 pm, Shriramana Sharma wrote:
> 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?

Possibly as it's a regression.

> 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...)

There was no problem with that (as far as I know).


More information about the PyQt mailing list