X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2FPSPP.xs;h=fef855106de4347ba324e59434e2e4dd94941b54;hb=refs%2Fbuilds%2F20100330040524%2Fpspp;hp=77a720caabf69cc17a172ab2c0b1233b7baa9987;hpb=1be0fed037916efa475c97c6cb4da8f168a56d0b;p=pspp diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 77a720caab..fef855106d 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -584,6 +584,7 @@ CODE: struct file_handle *fh = fh_create_file (NULL, name, fh_default_properties () ); struct sysfile_info *sfi = xmalloc (sizeof (*sfi)); + dict_set_encoding (dict, "UTF-8"); sfi->writer = sfm_open_writer (fh, dict, opts); sfi->dict = dict; sfi->opened = true;