On 8/14/2010 7:29 AM, FRANCOIS L. wrote:
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.

I suggest you ask a question and direct it to python-list. I have no idea what you want.

--
Terry Jan Reedy


_______________________________________________
IDLE-dev mailing list
IDLE-dev@python.org
http://mail.python.org/mailman/listinfo/idle-dev

Reply via email to