[issue6525] Problem with string.lowercase in Windows XP

Peter Landgren report at bugs.python.org
Mon Jul 20 19:35:19 CEST 2009


Peter Landgren <peter.talken at telia.com> added the comment:

Thru, but later in the application code like this
a = u"qaz" + string.lowercase[26]

causes
   a = u"qaz" + string.lowercase[26]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0:
ordinal not in range(128)

0x83 corresponds to â.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6525>
_______________________________________


More information about the Python-bugs-list mailing list