the stupid encoding problem to stdout

Sérgio Monteiro Basto sergiomb at sapo.pt
Thu Jun 9 21:11:10 EDT 2011


Nobody wrote:

>> Exactly the opposite , if python don't know the encoding should not try
>> decode to ASCII.
> 
> What should it decode to, then?

UTF-8, as in tty, how I change this default ? 

> You can't write characters to a stream, only bytes.
> 
ok got the point . 
Thanks, 



More information about the Python-list mailing list