[I18n-sig] Re: [Python-Dev] unichr

Paul Prescod paulp@ActiveState.com
Wed, 07 Feb 2001 12:38:35 -0800


Ka-Ping Yee wrote:
> 
> ...
> 
> At the moment, since the default encoding is ASCII, something like
> 
>     u"abc" + chr(200)
> 
> would cause an exception because 200 is outside of the ASCII range.

Yes, this is another mistake in Python's current handling of strings.
there is absolutely nothing special about the 128-255 range of
characters. We shouldn't start throwing exceptions until we get to 256.

 Paul prescod