print() and unicode strings (python 3.1)

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 24 16:41:37 EDT 2009


> I can't figure out a way to programatically set the encoding for
> sys.stdout.  So where does that leave me?

You should be setting the terminal encoding administratively, not
programmatically.

Regards,
Martin



More information about the Python-list mailing list