Le 14 Jan 2003 20:56:12 -0200
Johan Dahlin <[EMAIL PROTECTED]> �crivait : 

> tis 2003-01-14 klockan 21.49 skrev mc collilieux:

> Before inserting data into the liststore, convert them to utf-8.
> 
> First you need to convert to a unicode object, this can be done like
> this:
> obj = unicode(some_string, 'latin-1')
> 
> Then you can convert it to utf-8:
> 
> utf8string = obj.encode('utf-8')
> 
> and that string is what you should insert into your model
> (GtkListStore/GtkTreeStore)
> 
> -- 
> Johan Dahlin <[EMAIL PROTECTED]>
> Async Open Source

Yes, its works, greats thanks 
and now i can search how play with output look 
Fun of time zone : you have responded before i send my question :-)

-- 
Marie-Claude Collilieux
Bretagne 
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to