P
Pavel Kosina
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 :
# -*- coding: utf-8 -*-
print ("ěšÄřžýáÃé")
prints:
ěščřžĂËáĂÂĂ©
The same program running in Command line from PSPad editor works fine.
Is it mistake of my misunderstanding or of IDLE?
-------------
The same program without coding declaration (but saved in utf8) :
print ("ěšÄřžýáÃé")
even immediately destroyed my IDLE window without any error message.
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 :
# -*- coding: utf-8 -*-
print ("ěšÄřžýáÃé")
prints:
ěščřžĂËáĂÂĂ©
The same program running in Command line from PSPad editor works fine.
Is it mistake of my misunderstanding or of IDLE?
-------------
The same program without coding declaration (but saved in utf8) :
print ("ěšÄřžýáÃé")
even immediately destroyed my IDLE window without any error message.