print() and unicode strings (python 3.1)

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 24 11:56:43 EDT 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