X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fsys-file-info.c;h=6d033419d1f404e8a0a6dcfd3ff0cabe32f919cd;hb=d6ede2e8f16079edae2e308583f8af4f7e9daddd;hp=d6279159a6587e8cf2d8c82524e52581c50ba979;hpb=a1efcf97ca2f75f4be6a0389ff2372c03ed2d4e1;p=pspp diff --git a/src/language/dictionary/sys-file-info.c b/src/language/dictionary/sys-file-info.c index d6279159a6..6d033419d1 100644 --- a/src/language/dictionary/sys-file-info.c +++ b/src/language/dictionary/sys-file-info.c @@ -108,7 +108,7 @@ cmd_sysfile_info (struct lexer *lexer, struct dataset *ds UNUSED) } casereader_destroy (reader); - t = tab_create (2, 10, 0); + t = tab_create (2, 11, 0); tab_vline (t, TAL_GAP, 1, 0, 8); tab_text (t, 0, 0, TAB_LEFT, _("File:")); tab_text (t, 1, 0, TAB_LEFT, fh_get_file_name (h)); @@ -153,6 +153,13 @@ cmd_sysfile_info (struct lexer *lexer, struct dataset *ds UNUSED) tab_text (t, 0, 9, TAB_LEFT, _("Mode:")); tab_text (t, 1, 9, TAB_LEFT | TAT_PRINTF, _("Compression %s."), info.compressed ? _("on") : _("off")); + + + tab_text (t, 0, 10, TAB_LEFT, _("Charset:")); + tab_text (t, 1, 10, TAB_LEFT | TAT_PRINTF, + dict_get_encoding(d) ? dict_get_encoding(d) : _("Unknown")); + + tab_dim (t, tab_natural_dimensions); tab_submit (t);