aboutsummaryrefslogtreecommitdiff
path: root/utf8ord
blob: f41390642657e82b76edff290b7bf2a4b08ecb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl -CIOESA -w

use charnames qw/:full/;

#print ord($_), "\n" for @ARGV;

for(@ARGV) {
	for(split "") {
		my $c = ord;
		printf("%s\t%d\t%04x\t%s\n", $_, $c, $c, charnames::viacode($c)) for split "";
	}
}