X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2FPSPP.xs;h=143eb549e1a784c4df7b4c7b89fa644118f1056e;hb=099b41646452789d8a5b31218fa6522d1ea46584;hp=58eac5b762b58080d7ec3dbb9abf79e3ed3b50ca;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp-builds.git diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 58eac5b7..143eb549 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -223,7 +223,7 @@ MODULE = PSPP PACKAGE = PSPP::Dict struct dictionary * pxs_dict_new() CODE: - RETVAL = dict_create (); + RETVAL = dict_create ("UTF-8"); OUTPUT: RETVAL @@ -376,7 +376,7 @@ set_label (var, label) struct variable *var; char *label CODE: - var_set_label (var, label, NULL, false); + var_set_label (var, label, false); void @@ -592,7 +592,6 @@ CODE: struct file_handle *fh = fh_create_file (NULL, name, fh_default_properties () ); struct sysfile_info *sfi = xmalloc (sizeof (*sfi)); - dict_set_encoding (dict, UTF8); sfi->writer = sfm_open_writer (fh, dict, opts); sfi->dict = dict; sfi->opened = true;