aroberge / easygui_qt

Inspired by easygui, designed for PyQt
BSD 3-Clause "New" or "Revised" License
61 stars 18 forks source link

Problems remaining with unicode handling for Python 2.7 #8

Closed aroberge closed 9 years ago

aroberge commented 9 years ago

As discussed in issue #6 , there remains some problems with unicode handling for Python 2.7

get_string(), if passed the string "André" produces an error.

jeremygray commented 9 years ago

On Mac 10.9.5, python 2.7.8, I get:

>>> get_string()
u'Andr\xe9'
aroberge commented 9 years ago

I am getting the same. However, when using launcher.py (one of the demos), I was getting errors being raised. These are now fixed.

I will wait until I get users who do need unicode with Python 2.7 to investigate this issue further - it could well be that the behaviour will be acceptable as is. (Handling of unicode is something that is so much better with Python 3...)