use Unicode::CharName qw/uname/; use Unicode::UCD qw/charinfo/; my $value = <what you are looking at> my $c; print "Unicode Charname:\tHexValue:\tCharCode\n"; for (split //, $value) { $c = ord($_); print uname($c) .":\t" . charinfo($c)->{code} . ":\t$c\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: "Looking" at the characters of a Unicode string.
by gaal (Parson) on Nov 29, 2004 at 19:54 UTC | |
Re: "Looking" at the characters of a Unicode string.
by zentara (Cardinal) on Nov 30, 2004 at 19:10 UTC |