From: John Darrington Date: Mon, 13 Jul 2009 06:21:02 +0000 (+0800) Subject: Fix bug encodig missing value keys in gui X-Git-Tag: sav-api~248^2~117^2~6 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41c45ec6bc320abc0eed650ed183b604a5f5befd;p=pspp Fix bug encodig missing value keys in gui --- diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index d670002a46..ff750b25f7 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -86,7 +86,7 @@ text_to_value (const gchar *text, union value *v, } msg_disable (); - ok = data_in (ss_cstr (text), LEGACY_NATIVE, format.type, 0, 0, 0, + ok = data_in (ss_cstr (text), UTF8, format.type, 0, 0, 0, dict->dict, v, fmt_var_width (&format)); msg_enable ();