how to display unicode in a Label in Tkinter

Jeff Epler jepler at unpythonic.net
Tue Aug 17 07:55:40 EDT 2004


On Mon, Aug 16, 2004 at 03:37:21PM -0700, Ali wrote:
> So how I write in Arabic?

You're unlikely to get anything satisfactory.  Tk doesn't do
right-to-left text layout, and it does character-at-a-time drawing which
means you won't get the proper linking between the characters.

I don't know if this bad news is out of date by now, but it certainly
applies to Tk 8.2 and 8.3 on Unix and Windows.

Here's some related advice from the tcl/tk wiki:
    http://wiki.tcl.tk/699
but you have to have the stomach to read tcl code.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040817/e6038cca/attachment.sig>


More information about the Python-list mailing list