Using spanish characters in ActivePython 2.7

Posted by abeonis on 2013-07-13 00:27

Hi,

I am starting to learn Python with ActivePython 2.7 on Windows 7

When I create a script.py including the following line:
print "¿Cañería?"

And run python script.py in a command window (or Powershell), the resulting line displayed is not correct.

However, if I enter python and type the same text:
>>> print "¿Cañería?", the line displayed inside Python is OK.

I googled this issue and tried everything I could do easily without any success.

Have you faced the same problem? Do you have the solution?

Thank you.

grahams
ActiveState Staff
Fri, 2013-07-19 14:58

And it may not get improved in 2.7 at all.

http://bugs.python.org/issue1602