charnames

Pragma to provide support for N{charname} escapes. Options are:

  • :full
  • Searches for charnames in the list of standard Unicode character names
  • :short
  • Searches for charnames in the specified script, with the N escape expected to be of the form N{script:charname}
  • scriptname
  • Searches for all charnames in script scriptname

For example:

#!/usr/local/bin/perl -w use charnames ':short';
print "\N{greek:Sigma} is an upper-case sigma.\n";