On Thu, 09 Jun 2011 22:14:17 +0100, Sérgio Monteiro Basto wrote: > Exactly the opposite , if python don't know the encoding should not try > decode to ASCII.
What should it decode to, then? You can't write characters to a stream, only bytes. > I want python don't care about encoding terminal and send characters as they > are or for a file . You can't write characters to a stream, only bytes. -- http://mail.python.org/mailman/listinfo/python-list