On 6/9/2011 5:46 PM, Nobody wrote:
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.
Characters, representations are for people, byte representations are for
computers.
--
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list