X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-editor.c;h=d19f9783609158c0502419b60f9637ef9c0c2413;hb=14aac9fe7a7efbb6c9bded2ed5969a643cb76645;hp=be911ba6d69817d928264eb13effd969272d029b;hpb=ebda03f4d53b24d1af3de9fd7dcbbf448401d5a9;p=pspp-builds.git diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index be911ba6..d19f9783 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -23,8 +23,9 @@ #include #include "psppire-data-store.h" +#include #include -#include "helper.h" +#include "executor.h" #include #include @@ -743,7 +744,9 @@ update_data_ref_entry (const PsppireSheet *sheet, gchar *text = g_strdup_printf ("%d: %s", row + FIRST_CASE_NUMBER, var_get_name (var)); - gchar *s = pspp_locale_to_utf8 (text, -1, 0); + gchar *s = recode_string (UTF8, + psppire_dict_encoding (data_store->dict), + text, -1); g_free (text);