print() and unicode strings (python 3.1)

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 24 17:56:43 CEST 2009


> I don't understand why I'm getting an encode error in python 3.1.

The default encoding is not relevant here at all. Look at
sys.stdout.encoding.

Regards,
Martin



More information about the Python-list mailing list