Re: [Gambas-user] Loading non UTF-8 text files to TextArea

2014-09-08 Thread Patrik Karlsson
2014-09-06 20:45 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net: 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)

[Gambas-user] Loading non UTF-8 text files to TextArea

2014-09-06 Thread Patrik Karlsson
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,

Re: [Gambas-user] Loading non UTF-8 text files to TextArea

2014-09-06 Thread 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 TextArea stays empty. If the file contents is not UTF-8, it's up to you to