[Mono-list] assertion g_utf8_validate failed

Dmitry Kostenko bis0n@mail.ru
Fri, 12 Nov 2004 10:13:57 +0200


Hello, Mario.

It looks like you are using gtk-sharp-1.0. It has problems with UTF-8 and TextView widget. 
gtk-sharp-1.0.2 fixes that problem.

Mario Fuentes wrote:

> Hello, I have a problem with sockets, threads and TextView.  When a
> message is received, I add this to a TextView but in some machine it
> crash with this error:
> 
> Gtk-CRITICAL **.... (gtk_text_buffer_emit_insert): assertion
> 'g_utf8_validate (text, len, NULL)' failed.
> 
> I don't know if is a Decoding problem (from bytes to string) or a GTK
> +/System configuration error.
> 
> Attached a use case of the problem.
> 
> Bye.
> 
> 
[Skipped]
-- 
Dmitry Kostenko
.NET Developer