[pygtk] Displaying currency symbols in pyGTK
Robert Boehne
rboehne at comcast.net
Wed Jun 18 21:33:13 WST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm attempting to do what should be simple, and that is display currency
symbols in a pango markup label widget.
However, when attempting to display the Pound Sterling symbol for the UK
currency,
I can get it to runder in a python prompt easily:
|>> print u'\u001E'
<prints pound sterling symbol>
but then if I put that in a gtk label it displays as a box with 00
across the top and 1E across the bottom.
Question: What version of pyGTK supports unicode label strings?
|>> import pygtk
|>> pygtk.require('2.6')
|>> import gtk
|>> gtk.gtk_version
(2, 6, 8)
|>> gtk.pygtk_version
(2, 6, 0)
|>> gtk.ver
Thanks,
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIWQ6YjUrgBL5CXCURApJGAKDO3z8BJiHgGOpJXbYYT3lW8T+3bQCg4Hqz
nTM7z6UiuP3yoDfa5+eFXoY=
=P8+e
-----END PGP SIGNATURE-----
More information about the pygtk
mailing list