mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 18:25:42 -04:00
Also gentrify control characters
This commit is contained in:
parent
fa8607d29f
commit
6e40161b6b
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ sub unip {
|
||||||
}
|
}
|
||||||
my $comb = "";
|
my $comb = "";
|
||||||
$comb = " " if $x->{name} =~ /^COMBINING /;
|
$comb = " " if $x->{name} =~ /^COMBINING /;
|
||||||
|
$chr = chr(0x2400 + ord($chr)) if ord($chr) < 0x20;
|
||||||
push @out, "U+$x->{code} ($utf8): $x->{name} [$comb$chr]";
|
push @out, "U+$x->{code} ($utf8): $x->{name} [$comb$chr]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue