Hi, thanks for the information. But what I was really looking for was informaion on when and why Python started doing it (previously, it always used sys.getdefaultencoding())) and why it was done only for 'print' when stdout is a terminal instead of always.
On Thu, 13 Jan 2005 14:33:20 -0800, Serge Orlov wrote: > Sure. It uses the encoding of you console. Here is explanation why it uses > locale to get the encoding of console: > http://www.python.org/moin/PrintFails > -- Ricardo -- http://mail.python.org/mailman/listinfo/python-list