You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue by shula Saturday Jun 01, 2013 at 15:34 GMT Originally opened as autopilot-rs#42
"alert" doesn't work with unicode, but with current local encoding:
running python2.7.3, 64bit, from PythonWin,
autopy.alert.alert("thmhe איציק") # img 1
True
autopy.alert.alert(title=u"Hello, איציק", msg="string from pythonwin")
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-11: ordinal not in range(128)
... (tried all kinds of unicode/utf - all gives errors) ...
Last test, non-unicode encoding, img 2:
autopy.alert.alert(title=s.encode('cp1255'), msg="string from pythonwin")
True
The text was updated successfully, but these errors were encountered:
Issue by shula
Saturday Jun 01, 2013 at 15:34 GMT
Originally opened as autopilot-rs#42
"alert" doesn't work with unicode, but with current local encoding:
running python2.7.3, 64bit, from PythonWin,
True
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-11: ordinal not in range(128)
... (tried all kinds of unicode/utf - all gives errors) ...
Last test, non-unicode encoding, img 2:
True
The text was updated successfully, but these errors were encountered: