diff options
author | B. Watson <yalhcru@gmail.com> | 2020-07-05 21:03:38 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2020-07-05 21:03:38 -0400 |
commit | 94ea7a8cd41b5b0cebf2606f4319ca5050e80520 (patch) | |
tree | 703f962eb3713871172e766565e4fa35b599b800 /utf8ord | |
parent | 135b6988a809f22a633d9a90273cd6447cfa85be (diff) | |
download | misc-scripts-94ea7a8cd41b5b0cebf2606f4319ca5050e80520.tar.gz |
Add some new stuff
Diffstat (limited to 'utf8ord')
-rwxr-xr-x | utf8ord | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,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 ""; + } +} |