Diez B. Roggisch wrote:
> Niclas schrieb:
> 
>> Thank you!
>>
>> solved it with this:
>>  unicode( data.decode('latin_1') )
> 
> 
> The unicode around this is superfluous.

    Worse, it's an error.  utf-8 needs to go into a stream
of 8-bit bytes, not a Unicode string.

                                John Nagle
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to