char 128? no... 256

Afanasiy abelikov72 at hotmail.com
Tue Feb 11 23:06:15 EST 2003


On Tue, 11 Feb 2003 19:40:08 -0800, Erik Max Francis <max at alcyone.com>
wrote:

>Afanasiy wrote:
>
>> UnicodeError: ASCII encoding error: ordinal not in range(128)
>> 
>> This isn't even unicode, it's extended ascii characters used in
>> foreign
>> languages.

>There's a FAQ entry on this.
>
>	http://www.python.org/doc/FAQ.html#4.102
>
>You're trying to convert a Unicode string to a stream of bytes, and what
>that stream of bytes will look like strongly depends on what form of
>encoding you want.

Oh, and I did try this... it says it doesn't support decoding...




More information about the Python-list mailing list