This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author electronixtar
Recipients electronixtar
Date 2008-08-22.14:14:07
SpamBayes Score 4.166841e-05
Marked as misclassified No
Message-id <1219414450.32.0.0238360557627.issue3648@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-08-22 14:14:10electronixtarsetrecipients: + electronixtar
2008-08-22 14:14:10electronixtarsetmessageid: <1219414450.32.0.0238360557627.issue3648@psf.upfronthosting.co.za>
2008-08-22 14:14:09electronixtarlinkissue3648 messages
2008-08-22 14:14:08electronixtarcreate