From 046ce2e8d22ea384dc7e1e4545bede6fd859d9c3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 3 Jun 2021 16:13:58 +0200 Subject: Add "U8" character code table for binary STL. A file was sent that has "U8" as a STL CCT. I presume this means "UTF-8" but I can't see any documentation about it anywhere. This change accepts U8 as a CCT. It doesn't look like this value is actually used anywhere to change how text is parsed, but at least it doesn't fail now. --- src/stl_binary_tables.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stl_binary_tables.cc') diff --git a/src/stl_binary_tables.cc b/src/stl_binary_tables.cc index db623bf..2d275df 100644 --- a/src/stl_binary_tables.cc +++ b/src/stl_binary_tables.cc @@ -211,6 +211,7 @@ STLBinaryTables::STLBinaryTables () code (_language_group_map, "02", LANGUAGE_GROUP_LATIN_ARABIC, "Latin/Arabic"); code (_language_group_map, "03", LANGUAGE_GROUP_LATIN_GREEK, "Latin/Greek"); code (_language_group_map, "04", LANGUAGE_GROUP_LATIN_HEBREW, "Latin/Hebrew"); + code (_language_group_map, "U8", LANGUAGE_GROUP_LATIN_HEBREW, "UTF-8"); code (_language_map, "00", LANGUAGE_UNKNOWN, "Unknown"); code (_language_map, "01", LANGUAGE_ALBANIAN, "Albanian"); -- cgit v1.2.3