"Sérgio Monteiro Basto" <[email protected]> wrote in message news:[email protected]...

How I change sys.stdout.encoding always to UTF-8 ? at least have a
consistent sys.stdout.encoding

There is an environment variable that can force Python I/O to be a specfic encoding:

   PYTHONIOENCODING=utf-8

-Mark


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to