Hi guys!

I want to know suggestion on how to convert a string to unicode... The
gtk requires unicode strings on the widgets, now either I define the
string as u'some string' or I define an attribute enconding
(self.enc='iso8859-1') and for each string I use unicode(string,
self.enc)... To access the string I use string.decode(self.enc)...

Is this the best way to convert string to unicode?

thanks for all help!

=====
--
Michel Thadeu Sabchuk
Curitiba/PR

______________________________________________________________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/
_______________________________________________
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