char 128? no... 256

Afanasiy abelikov72 at hotmail.com
Tue Feb 11 23:26:19 EST 2003


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

>Afanasiy wrote:
>
>> Ok then what is 8 bits? That's not unicode. I call it extended ascii,
>> but I don't really care what it's actually called, I know it as a
>> char.
>
>It's "eight bits."
>
>> And I think it's odd that 8 bit char's would need to be converted.
>
>The point is, if you are receiving that error, what you have is a
>_Unicode string object_.  You _don't_ have a normal string object that
>just happens to have the MSB set in some of the characters.  You have a
>Unicode string, and you're trying to convert it to a normal string.

I got the point, I replied to it in another post.
I cannot decode the 'Unicode' object... and it is
annoying to know that the Unicode object contains
data which can be kept in a 8 bits, and always is.





More information about the Python-list mailing list