[Tutor] How to display non-ascii charaters on tkinter-made GUIs?

Gregor Lingl glingl@aon.at
Wed, 25 Sep 2002 03:20:10 +0200


Hy Python schrieb:

> Thanks a lot for your great reply, Gregor.
>
> However, I just could not find the method in setdefaultencoding() in 
> when I imported the sys module. Do you have to do something special to 
> make setdefaultencoding() show up in the sys. namespace?


I thought, I had sent you the link to the documentation, didn't I?

Yes there is! See:
http://www.python.org/doc/current/lib/module-sys.html#l2h-264

The documentation for setdefaultencoding consists of approx. three lines.
I think you would only have to read them thoroughly.

Regards,
Gregor