How does unicode() work?

Robert Latest boblatest at yahoo.com
Wed Jan 9 07:41:38 EST 2008


Robert Latest wrote:
> ...but it barfs when actually fed with iso8859-1 characters.

Specifically, it says:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 0: 
ordinal not in range(128)

which doesn't make sense to me, because I specifically asked for the 
iso8859-1 decoder, not the 'ascii' one.

robert



More information about the Python-list mailing list