the stupid encoding problem to stdout
Mark Tolonen
metolone+gmane at gmail.com
Thu Jun 9 20:57:03 EDT 2011
More information about the Python-list mailing list
Thu Jun 9 20:57:03 EDT 2011
- Previous message (by thread): the stupid encoding problem to stdout
- Next message (by thread): the stupid encoding problem to stdout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Sérgio Monteiro Basto" <sergiomb at sapo.pt> wrote in message news:4df137a7$0$30580$a729d347 at news.telepac.pt... > 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
- Previous message (by thread): the stupid encoding problem to stdout
- Next message (by thread): the stupid encoding problem to stdout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list