X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/4cccd0f03b54ed366c5de96fb40cea688c6482e9..1d1b3f6faefdc6666db120b3cbaf5c76a7dadcb6:/digraphs.plp
diff --git a/digraphs.plp b/digraphs.plp
index b62b577..ab04efd 100644
--- a/digraphs.plp
+++ b/digraphs.plp
@@ -57,9 +57,13 @@ for my $c1group (@chars) {
print '
';
next;
}
- my ($codepoint, $name, $prop, $script) = @{ $di->{$mnem} };
+ if (ref $di->{$mnem} ne 'ARRAY') {
+ printf ' | ', quote($mnem);
+ next;
+ }
+ my ($codepoint, $name, $prop, $script, $string) = @{ $di->{$mnem} };
- my $glyph = chr $codepoint;
+ my $glyph = $string || chr $codepoint;
utf8::upgrade($glyph); # prevent latin1 output
my $desc = $mnem . ($name && " ($name)");
my @class = ('X', grep {$_} $prop, $script);
@@ -92,6 +96,7 @@ print "\n";
| latin
| hebrew
| arabic
+ | korean
| japanese
| chinese
|