X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/85e0235b718898b6411ed2eb5d387a2a9d62156b..e84402a9c62d8b57f9fd78a81d639692108a46e3:/digraphs.plp diff --git a/digraphs.plp b/digraphs.plp index 9a20f58..9f0b370 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -69,11 +69,13 @@ for my $c1 (@chars) { next; } my $chr = $di->{$mnem}; + my $glyph = chr $chr; + utf8::upgrade($glyph); # prevent latin1 output my @class = 'any'; printf '%s', - join(' ', @class), quote($mnem), quote(chr $chr); + join(' ', @class), quote($mnem), quote($glyph); } print "\n"; }