2014-09-06 20:45 GMT+02:00 Benoît Minisini :
> Le 06/09/2014 20:29, Patrik Karlsson a écrit :
> > Hi,
> >
> > I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
> > 'g_utf8_validate (text, len, NULL)' failed
> > when trying TextArea.Text=File.Load("iso8859-1.txt")
> >
> > So my TextAre
Le 06/09/2014 20:29, Patrik Karlsson a écrit :
> Hi,
>
> I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
> 'g_utf8_validate (text, len, NULL)' failed
> when trying TextArea.Text=File.Load("iso8859-1.txt")
>
> So my TextArea stays empty.
If the file contents is not UTF-8, it's up to
Hi,
I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
'g_utf8_validate (text, len, NULL)' failed
when trying TextArea.Text=File.Load("iso8859-1.txt")
So my TextArea stays empty.
I have found an old bug report regarding this tagged as wont fix.
Since the file loads as expected in qt