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

Patrik Karlsson pata.karlsson at ...626...
Sat Sep 6 20:29:13 CEST 2014


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, is it future safe to use qt in my
app, will it always work?

Does qt support "every other" encoding too?
Im asking since Im working on a gui for iconv.

/Patrik



More information about the User mailing list