MARC::Charset::Code(3pm) | User Contributed Perl Documentation | MARC::Charset::Code(3pm) |
MARC::Charset::Code - represents a MARC-8/UTF-8 mapping
Each mapping from a MARC-8 value to a UTF-8 value is represented by a MARC::Charset::Code object in a MARC::Charset::Table.
The constructor.
A descriptive name for the code point.
A string representing the MARC-8 bytes codes.
A string representing the UCS code point in hex.
The MARC-8 character set code.
Returns true/false to tell if the character is a combining character.
If the character is the right half of a "double diacritic", returns a hex string representing the MARC-8 value of the left half.
If the character is the left half of a "double diacritic", returns a hex string representing the MARC-8 value of the right half.
A stringified version of the object suitable for pretty printing.
Returns the unicode character. Essentially just a helper around ucs().
The string representing the MARC-8 encoding for lookup.
The string representing the MARC-8 encodingA for output.
Returns the name of the character set, instead of the code.
Returns a stringified version of the object.
Returns a hash code for this Code object for looking up the object using MARC8. First portion is the character set code and the second is the MARC-8 value.
Returns a hash code for uniquely identifying a Code by it's UCS value.
Returns 'G0' or 'G1' indicating where the character is typicalling used in the MARC-8 environment.
Returns an escape sequence to move to the Code from another marc-8 character set.
Returns the charset value, not the hex sequence.
2019-03-17 | perl v5.28.1 |