Em Qui, 2003-07-24 �s 17:28, T�nis M�rtmaa escreveu:
How would I convert a string in ISO 8859-15 to unicode? With unicode ()
I thought but when I send the unicode string produced by unicode () to
PyGTKs output (labels, etc) then I get this error message:
** (Opil.py:10892): WARNING **: Invalid UTF8 string passed to
pango_layout_set_text()
I'm using something like this:
unicode("your iso 8859-15 text","iso8859-15).encode("utf-8")
best regards,
--
Claudemir Todo Bom
[EMAIL PROTECTED]
http://www.wiredway.com.br/~allgood
signature.asc
Description: PGP signature
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
