Tkinter and utf-8
Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
unseulmcmcmcmc at msupprimerlepoint.claveauPOINTcom
Fri Oct 29 00:55:46 EDT 2004
Hi !
In XP (and 2000), the display of unicode use the uniscribe motor. But the
standards win's versions are not (all) in top level. You MUST install more
recent version.
I had do this update, and, now, I can use really unicode in Windows (samples
: directory name in unicode, in windows explorer).
Sample code of tk display of unicode string :
root = Tk()
myFont = tkFont.Font(size=18)
w = Label(root, text=unicodstring, font=myFont)
w.pack()
root.mainloop()
Aaah ! Last "truc" : uniscribe is in USP10.DLL (look the version)
*sorry for my bad english*
@-salutations
--
Michel Claveau
More information about the Python-list
mailing list