Skip to content

Commit 397e387

Browse files
committed
mktables: Handle Unicode 16.0 Unikemet.txt file
This is handled by ignoring it for now, and letting mktables know that the properties it contains are empty. This file, new in 16.0, gives extra information about Egyption Hieroglyphics newly encoded in 16.0. It is intended only for scholars of these ancient symbols. mktables normally handles new properties automatically, but this file is in a completely different format than previous ones, so mktables would have to be adapted to understand that. That might not be too hard, given that mktables has infrastructue to handle other outliers that have come along over the years from Unicode. But, by ignoring this file, we create empty tables which generate errors in other places in perl. These are real bugs that ought to be fixed, and will be before 16.0 is incoroporated into blead. And how many Egyptologists are there in the world, much less how many use the latest Perl? So the perldelta will say that 16.0's support doesn't include these, which are mostly provisional anyway.
1 parent 9500884 commit 397e387

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/unicore/mktables

+15
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,15 @@ push @tables_that_may_be_empty, 'Grapheme_Cluster_Break=Prepend'
871871
push @tables_that_may_be_empty, 'Canonical_Combining_Class=CCC133'
872872
if $v_version ge v6.2.0;
873873

874+
# These properties of Egyptian hieroglyphs are not handled by Perl. Their
875+
# intended audience is only specialist Egyptologists
876+
push @tables_that_may_be_empty, qw(kEH_Cat kEH_Desc kEH_HG kEH_IFAO
877+
kEH_JSesh
878+
kEH_NoMirror kEH_NoMirror=Yes
879+
kEH_NoMirror=No
880+
kEH_NoRotate kEH_NoRotate=Yes)
881+
if $v_version ge v16.0.0;
882+
874883
# The lists below are hashes, so the key is the item in the list, and the
875884
# value is the reason why it is in the list. This makes generation of
876885
# documentation easier.
@@ -19869,6 +19878,12 @@ my @input_file_objects = (
1986919878
Skip => $Unused_Skip,
1987019879
UCD => 0,
1987119880
),
19881+
Input_file->new('Unikemet.txt', v16.0.0,
19882+
# For Egyptian Hieroglyphs; is in an alien format to the
19883+
# other files Unicode furnishes.
19884+
Skip => $Unused_Skip,
19885+
UCD => 0,
19886+
),
1987219887
);
1987319888

1987419889
# End of all the preliminaries.

0 commit comments

Comments
 (0)