Message71747
One of the MOST common scene for Python developers on CJK/Widecharacter
is this error:
'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range
(128)
Why cann't Python just define ascii to range(256), or alternatively,
just use another default encoding that handles 0x00 to 0xff. Sometimes
encoding problems in Python are driving me mad.
Currently I am using mbcs, but it's only available on Windows. |
|
Date |
User |
Action |
Args |
2008-08-22 14:14:10 | electronixtar | set | recipients:
+ electronixtar |
2008-08-22 14:14:10 | electronixtar | set | messageid: <1219414450.32.0.0238360557627.issue3648@psf.upfronthosting.co.za> |
2008-08-22 14:14:09 | electronixtar | link | issue3648 messages |
2008-08-22 14:14:08 | electronixtar | create | |
|