Hi, I have problems using characters from the Swedish language. I tried the
following in IDLE under MacOS X leopard (running Python 2.5.1)  :

 

S=’ö’

 

Displaying error message: “unsupported characters in input”.

 

Running Python from a terminal I can’t even type the character, all that
happens is that I get a little “boing” from my machine.I tried to set
various things  like LC_CTYPE with the locale module but that doesn’t work.
I don’t really know what that module does but If I try locale.getlocale(), I
get: (‘sv_SE’,’ISO8859-1’). Anyone who knows how to fix this? I would be
very grateful.

 

/Robert 

 

 

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to