text-data-import-dialog: Convert input lines to UTF-8 upon read. 20120715000502/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 14 Jul 2012 18:17:59 +0000 (11:17 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 14 Jul 2012 18:19:26 +0000 (11:19 -0700)
commitdeea66e1be0c3e783b159e1605a697d9e75861aa
tree6a384c4b6f865846c96b252655936f608c27a1b6
parent5fe214c0d45c28aaace79b917783570530a2f926
text-data-import-dialog: Convert input lines to UTF-8 upon read.

Otherwise we can try to display, e.g., ISO 8859-1 with Pango, which
only supports UTF-8, and we get a Gtk-CRITICAL as a result.

Reported by "Alain-F. Nizard" <Alain.Nizard@ac-creteil.fr>
via Jeremy Lavergne <jeremy@lavergne.gotdns.org>.
src/ui/gui/text-data-import-dialog.c