NAME
MARC::Charset::ASCII - MARC8/UTF8 mappings for ASCII
SYNOPSIS
use MARC::Charset::ASCII;
my $c = MARC::Charset::ASCII->new();
DESCRIPTION
MARC::Charset::ASCII provides a mapping between the MARC8 ASCII character set and Unicode(UTF8). It is typically used by MARC::Charset, so you probably don't need to use this yourself.
METHODS
The constructor, which will return you a MARC::Charset::ASCII object.
name()
Returns the name of the character set.
lookup()
The workhorse method that does the lookup. Pass it an a character and you'll get back the UTF8 character.
combining()
Pass it a character and you'll get back a true value (1) if the character is a combining character, and false (undef) if it is not.
getCharSize()
Returns the number of bytes in each character of this character set.