iseries: report Unicode files as Unicode rather than ASCII.

While we're at it, that's "Unicode", not "UNICODE" - it's not an
initialism, and isn't all-caps.
This commit is contained in:
Guy Harris 2021-02-13 20:23:08 -08:00
parent 63d802099a
commit 8ec5906fd6
2 changed files with 2 additions and 2 deletions

View File

@ -1343,7 +1343,7 @@ static const struct file_type_subtype_info dump_open_table_base[] = {
NULL, NULL, NULL },
/* WTAP_FILE_TYPE_SUBTYPE_ISERIES_UNICODE */
{ "IBM iSeries comm. trace (UNICODE)", "iseries_unicode", "txt", NULL,
{ "IBM iSeries comm. trace (Unicode)", "iseries_unicode", "txt", NULL,
FALSE, FALSE, 0,
NULL, NULL, NULL },

View File

@ -240,7 +240,7 @@ iseries_open (wtap * wth, int *err, gchar ** err_info)
}
wth->file_encap = WTAP_ENCAP_ETHERNET;
wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_ISERIES;
wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_ISERIES_UNICODE;
wth->snapshot_length = 0;
wth->subtype_read = iseries_read;
wth->subtype_seek_read = iseries_seek_read;