1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 10:35:41 -04:00

Also gentrify control characters

This commit is contained in:
Ryan Voots 2017-10-30 18:50:53 -04:00
parent fa8607d29f
commit 6e40161b6b

View file

@ -34,6 +34,7 @@ sub unip {
}
my $comb = "";
$comb = " " if $x->{name} =~ /^COMBINING /;
$chr = chr(0x2400 + ord($chr)) if ord($chr) < 0x20;
push @out, "U+$x->{code} ($utf8): $x->{name} [$comb$chr]";
}