[Edu-sig] unicode/tkinter difficulties on macosx

Guido van Rossum guido at python.org
Mon Oct 17 17:32:23 CEST 2005

Sounds like a font problem. You're probably better off asking the
Tcl/Tk list about that.

On 10/17/05, vincent rioux <vincent.rioux at no-log.org> wrote:
> Dear list,
> sorry if you find this subject slightly out of the scope of this list.
> Well, I have hard time finding documentation on how to display correctly
> unicode characters with a basic Tkinter widget on Macosx.
> from Tkinter import *
> root = Tk()
> w = Label(root, text=u'\u0254')
> w.pack()
> root.mainloop()
> This should display an 'open o' of the IPA.
> It happens to work with python from FINK (hence using x11) but I just
> can't get it to work on pythonw2.4/tcl-tk acqua. It will only display an
> empty square. I also noticed that i could display characters up to \xFF
> but it seems that i don't manage to access to characters starting from
> /x0100...
> any ideas, redirections or solutions are welcome
> by advance many thanks,
> vincent
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Edu-sig mailing list