> i'm guessing here, but you probably need to convert it into 8859-1
> first?
Doubtful; that would lose information if I wanted to display characters not
in ISO-8859-1. With Tkinter, I can create a Unicode string object from the
Python side and pass it directly to the Text widget and have it display
properly. For example:
from Tkinter import *
t = Text()
# Insert a Greek alpha character
s = u'\u03b1'
t.insert('end', s)
But if I try similar code with a GtkText widget, I see a plusminus
character, indicating that the GtkText doesn't understand the Unicode
string.
I heard from another source that the upcoming Gtk 1.4 has Unicode support,
so I'll stop looking for it in the current version.
Tessa Lau
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk