From 6e40161b6b7af46ffe193dd426859fa239ac7c05 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Mon, 30 Oct 2017 18:50:53 -0400 Subject: [PATCH] Also gentrify control characters --- plugins/unicode.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/unicode.pm b/plugins/unicode.pm index 7872b65..21cdec8 100644 --- a/plugins/unicode.pm +++ b/plugins/unicode.pm @@ -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]"; }