On Sun, 2006-08-20 at 10:46 +0200, Pascal DUCHATELLE wrote:
> I am trying to understand character coding and python (unicode...).
> Can someone tell me why in IDLE I have to enter the sequence u'\u03B1'
> to get an alpha greek sign displayed while in the texttest.py file
> that comes with th pyGTK demo package there are some 'cabalistic'
> characters (in the greek example section) that are displayed like
> greek symbols just right.
IDLE uses Tcl/Tk, doesn't it?
What environment are you running IDLE under?
What are your locale settings?
What sort of output do you get from e.g.
>>> import gtk
>>> w = gtk.Window()
>>> w.add(gtk.Label("δ U+03B4 GREEK SMALL LETTER DELTA"))
>>> w.show_all()
>>> gtk.main()
Ed
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/