[pygtk] To load any encoding textfile in textview

F Wolff friedel at translate.org.za
Fri Apr 23 05:04:44 WST 2010


Op Vr, 2010-04-23 om 02:10 +0530 skryf varnikat t:
> How to load any encoding text file in textview of glade as it supports
> only UTF-8 encoded text files and loads them only....?
> Any solutions
> waiting eagerly

The best might be to convert it to you unicode yourself and pass that to
the textview.  The PyGTK accepts unicode strings.

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/how-should-we-do-high-contrast-application-icons



More information about the pygtk mailing list