Added a dict parameter to data_in and dealt with the consequences.
[pspp-builds.git] / src / ui / gui / psppire-data-store.c
index a97cbbb3e41e08d971ddb5dcda088a3c8a11b33b..9833fb496f8a0be6dd3145fc7bbb334fe46b341f 100644 (file)
@@ -959,7 +959,8 @@ psppire_data_store_data_in (PsppireDataStore *ds, casenumber casenum, gint idx,
                         FALSE);
   value_init (&value, width);
   ok = (datasheet_get_value (ds->datasheet, casenum, idx, &value)
-        && data_in (input, dict_get_encoding (dict->dict), fmt->type, 0, 0, 0, &value, width)
+        && data_in (input, UTF8, fmt->type, 0, 0, 0,
+                   dict->dict, &value, width)
         && datasheet_put_value (ds->datasheet, casenum, idx, &value));
   value_destroy (&value, width);