[issue3648] 'ascii' shoud be range(256) or just set another default encoding

2008-08-22 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > Sometimes > encoding problems in Python are driving me mad. The thing is, they are not "encoding problems in Python", they are encoding problems in the outside world. Python cannot know magically which encoding is used in third-party data,

[issue3648] 'ascii' shoud be range(256) or just set another default encoding

2008-08-22 Thread electronixtar
New submission from electronixtar <[EMAIL PROTECTED]>: 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, ju