getdefaultencoding - how to change this?
- From: Helmut Jarausch <jarausch@xxxxxxxxx>
- Date: 20 Jan 2011 14:31:09 GMT
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.
.
- Follow-Ups:
- Re: getdefaultencoding - how to change this?
- From: John Pinner
- Re: getdefaultencoding - how to change this?
- From: Robert Kern
- Re: getdefaultencoding - how to change this?
- From: Helmut Jarausch
- Re: getdefaultencoding - how to change this?
- Prev by Date: difference between python and matlab
- Next by Date: Re: Tkinter: The good, the bad, and the ugly!
- Previous by thread: difference between python and matlab
- Next by thread: Re: getdefaultencoding - how to change this?
- Index(es):
Relevant Pages
|