print() and unicode strings (python 3.1)

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 24 22:41:37 CEST 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