Fix bug encodig missing value keys in gui
[pspp-builds.git] / src / ui / gui / helper.c
index d670002a467fc741bacafd4480f63782e97ef7b6..ff750b25f7aa6ffe3b6a99e55a2d014791bcf5d8 100644 (file)
@@ -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 ();