Arabic bidirectionality in Tkinter
Salim Zayat
zayats at blue.seas.upenn.edu
Mon Apr 1 17:10:03 EST 2002
Hey all. I have a question about Tkinter and internationalization. I
have a unicode string:
s = u'\u0631\u062f\u062f\u0627\u063a'
When I send this to a canvas to be drawn as text:
canvas.create_text(x, y, text=s)
I get all the letters treated as individual characters, instead of
changing their presentation in comparison to the characters around it
(glyphs I believe theyre called).
Qt deals with this bidirectionality automatically, but Tkinter doesnt
appear to. What can I do?
Thanks for any help!
Salim
More information about the Python-list
mailing list