En Thu, 01 Jan 2009 06:11:50 -0200, Pavel Kosina escribió:
In 3.0 there is an error. The same program, moved to 3.0 syntax, in
IDLE editor :
# -*- coding: utf-8 -*-
print ("ěščřžýáíé")
prints:
ěščřžýáĂĂ©
The same program without coding declaration (but saved in utf8) :
print ("ěščř
"Pavel Kosina" wrote in message
news:495c7ac6.1000...@post.cz...
As for unicode in Python 2.5 everything works fine in program running
either in IDLE or under Command line:
# -*- coding: utf-8 -*-
print u"ěščřžýáíé"
In 3.0 there is an error. The same program, moved to 3.0 syntax, in IDLE
e
小楼 napsal(a), dne 1.1.2009 10:32:
#coding="utf-8"
#中国
print('a')
saved in utf8
alt+x,destroyed IDLE...
me too,why?
Are you sure? Run (F5) with print('a') is OK here. Maybe you have
redefined key bindings in IDLE ...
--
geon
Pavel Kosina
--
http://mail.python.org/mailman/listinfo/python-li
On 1月1日, 下午4时11分, Pavel Kosina wrote:
> As for unicode in Python 2.5 everything works fine in program running
> either in IDLE or under Command line:
> # -*- coding: utf-8 -*-
> print u"ěščřžýáíé"
>
> In 3.0 there is an error. The same program, moved to 3.0 syntax, in
> IDLE editor :
> # -*- codi