getdefaultencoding - how to change this?
Helmut Jarausch
jarausch at skynet.be
Thu Jan 20 09:31:09 EST 2011
More information about the Python-list mailing list
Thu Jan 20 09:31:09 EST 2011
- Previous message (by thread): difference between python and matlab
- Next message (by thread): getdefaultencoding - how to change this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I've searched the net but didn't find the information I need. Using Python-2.7.1, I know, I can't modify defaultencoding at run time. Python even ignores export PYTHONIOENCODING=ISO8859-1 locale.getdefaultlocale()[1] returns 'ISO8859-1' still sys.stdout is using the ascii codec. How can I recompile Python (itself) to change this to iso8859-1 ? (My favourite editor cannot be told to use unicode.) Many thanks for a hint, Helmut.
- Previous message (by thread): difference between python and matlab
- Next message (by thread): getdefaultencoding - how to change this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list