MARC::Charset::Generic - Superclass for Charset Classes
There is no need to use this class directly.
All of the MARC::Charset::* classes inherit from MARC::Charset::Generic, so that they all implement some core methods. There is no constructor method for MARC::Charset::Generic since it is only meant to be subclassed, not instantiated.
These constants can be exported with the :all tag. They are constants defined by the Library of Congress for indentifying and switching to alternate character sets.
use MARC::Charset::Generic qw( :all );
name()
Returns the name of the character set.
getCharsetCode()
Returns the character set code for this character set, as defined by the Library of Congress.
getCharSize()
Returns the number of bytes in each character of this character set.