Rechercher une page de manuel
MARC::Charset::Code.3pm
Langue: en
Version: 2007-05-20 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
MARC::Charset::Code - represents a MARC-8/UTF-8 mappingSYNOPSIS
DESCRIPTION
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.METHODS
new()
The constructor.name()
A descriptive name for the code point.marc()
A string representing the MARC-8 bytes codes.ucs()
A string representing the UCS code point in hex.charset_code()
The MARC-8 character set code.is_combining()
Returns true/false to tell if the character is a combining character.to_string()
A stringified version of the object suitable for pretty printing.char_value()
Returns the unicode character. Essentially just a helper around ucs().marc_value()
The string representing the MARC-8 encoding.charset_name()
Returns the name of the character set, instead of the code.to_string()
Returns a stringified version of the object.marc8_hash_code()
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.utf8_hash_code()
Returns a hash code for uniquely identifying a Code by it's UCS value.default_charset_group
Returns 'G0' or 'G1' indicating where the character is typicalling used in the MARC-8 environment.get_marc8_escape
Returns an escape sequence to move to the Code from another marc-8 character set.charset_value
Returns the charset value, not the hex sequence.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre