[Idle-dev] encodage problem
FRANCOIS L.
francois.oph at gmail.com
Sat Aug 14 13:29:56 CEST 2010
hello,
-----
Python 2.6.5+ (release26-maint, Jul 6 2010, 12:58:20)
[GCC 4.4.4] on linux2
IDLE 2.6.5 ==== No Subprocess ====
>>>import sys
>>> u"é"
u'\xc3\xa9'
>>> print u"é"
é
>>> sys.stdin.encoding
'utf-8'
------
It seems to be a mixture of utf-8 and latin-1
In a terminal I got:
Python 2.6.5+ (release26-maint, Jul 6 2010, 12:58:20)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.stdin.encoding
'UTF-8'
>>> u"é"
u'\xe9'
>>> print u"é"
é
Thanks for your help.
Laurent
debian squeeze
More information about the IDLE-dev
mailing list