[Python-Dev] PEP 383 and GUI libraries (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Apr 30 10:48:27 CEST 2009
- Previous message: [Python-Dev] what Windows and Linux really do Re: PEP 383 (again)
- Next message: [Python-Dev] PEP 383 and GUI libraries
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I checked how GUI libraries deal with half surrogates. In pygtk, a warning gets issued to the console
/tmp/helloworld.py:71: PangoWarning: Invalid UTF-8 string passed to pango_layout_set_text() self.window.show()
and then the widget contains three crossed boxes.
wxpython (in its wxgtk version) behaves the same way.
PyQt displays a single square box.
Regards, Martin
- Previous message: [Python-Dev] what Windows and Linux really do Re: PEP 383 (again)
- Next message: [Python-Dev] PEP 383 and GUI libraries
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]