Unicode::CharName - Look up Unicode character names


Unicode-String documentation  | view source Contained in the Unicode-String distribution.

Index


NAME

Top

Unicode::CharName - Look up Unicode character names

SYNOPSIS

Top

 use Unicode::CharName qw(uname ublock);
 print uname(ord('%')), "\n";
 print ublock(0x0300), "\n";

DESCRIPTION

Top

This module provide a two functions named uname() and ublock(). The uname() function will return the Unicode character name for the given code (a number between 0 and 0x10FFFF). Unicode character names are written in upper-case ASCII letters, and are strings like:

  LATIN CAPITAL LETTER A
  LATIN SMALL LETTER A WITH RING ABOVE
  CJK UNIFIED IDEOGRAPH 7C80
  HANGUL SYLLABLE PWILH

The ublock() will return the name of the Unicode character block that the given character belongs to.

SEE ALSO

Top

Unicode::String

COPYRIGHT

Top


Unicode-String documentation  | view source Contained in the Unicode-String distribution.