These are experimental modules to handle various Unicode issues. They were made before perl included native UTF8 support.
More information on what Unicode is and can do for you are to be found at http://www.unicode.org
The current set of modules are:
Unicode::String - represent strings of Unicode chars Unicode::CharName - look up character names Unicode::Map8 - mapping tables towards 8-bit char sets
(the Unicode::Map8 module is distributed separately)
Some of ideas to investigate for the Unicode modules are:
Need separate routines or a special argument to distinguish between compatibility decomposition and canonical decomposition. The last one is a subset of the first one.
EXAMPLES
The following are examples of use of the current modules:
use Unicode::String qw(latin1 utf8);
$u = utf8("this is a string\n");
print $u->ucs4;
print $u->utf16;
print $u->utf8;
print $u->utf7;
print $u->latin1;
print $u->hex;
print latin1("naïve\n")->utf8;
use Unicode::CharName qw(uname);
print uname(ord('$')), "\n";
COPYRIGHT
© 1997-2000,2005 Gisle Aas. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.