what is this UnicodeDecodeError:....?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Oct 11 11:00:01 CEST 2006


In <1160515979.332472.223430 at c28g2000cwb.googlegroups.com>, John Machin
wrote:

> Marc 'BlackJack' Rintsch wrote:
> 
>> Because you are trying to compare a unicode string `val` with a byte
>> string in the list. The unicode string will be converted to a byte string
>> for this comparison with the default encoding: ASCII.
> 
> :-)
> 
> I presume you must live north of the equator. Down under, it seems to
> happen the other way up -- the byte strings are decoded to unicode:

(-: Ooops, I stand corrected. :-)

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list