Dear all,
I develop an application for linguistic annotation, using
python/tkinter,
and have just extended my code to support unicode text
files.
All went fine on the Windows version (where I develop), but
when I took my code over to MacOS (Tiger, with python
2.5.1),
I find Tkinter cannot display unicode under MacOS.
A previous posting (mikegasser at sbcglobal.net) almost a
year ago
gave a simple example:
#=========================
from Tkinter import *
import tkFont
root = Tk()
myFont = tkFont.Font(size=18)
w = Label(root, text=u'Bunu0103-dimineau021ba, lume',
font=myFont)
w.pack()
root.mainloop()
#=========================
This works fine under Windows, but displays squares for the
unicode
chars under MacOSX. This has not been fixed in the last
year.
Are there any solutions to this problem?
Mick
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
a>
|