On Thu, Jul 01, 2004 at 10:55:37AM +0100, Gustavo J. A. M. Carneiro wrote:
> A Qui, 2004-07-01 �s 05:40, Michael JasonSmith escreveu:
> > When calling the "insert_with_tags" method of a gtk.TextBuffer I am
> > getting errors along the lines of 
> >         Gtk-CRITICAL **: file gtktextbuffer.c: line 557
> >         (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text,
> >         len, NULL)' failed
> 
>   The message above is only saying that your text string is not well
> encoded in utf-8.  Just try to use unicode objects instead of strings,
> if you're getting these problems, and python will automatically convert
> to utf-8 for you.

-> FAQ 14.19:

    http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq14.019.htp

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
_______________________________________________
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