unicodedata.numeric()

unicodedata.numeric(chr[, default]) Returns the numeric value assigned to the character chr as float. If no such value is defined, default is returned, or, if not given, ValueError is raised.

UnicodeEncodeError

exception UnicodeEncodeError Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError.

UnicodeDecodeError

exception UnicodeDecodeError Raised when a Unicode-related error occurs during decoding. It is a subclass of UnicodeError.

unicodedata.unidata_version

unicodedata.unidata_version The version of the Unicode database used in this module.

unicodedata.mirrored()

unicodedata.mirrored(chr) Returns the mirrored property assigned to the character chr as integer. Returns 1 if the character has been identified as a “mirrored” character in bidirectional text, 0 otherwise.

unicodedata.name()

unicodedata.name(chr[, default]) Returns the name assigned to the character chr as a string. If no name is defined, default is returned, or, if not given, ValueError is raised.

unicodedata.lookup()

unicodedata.lookup(name) Look up character by name. If a character with the given name is found, return the corresponding character. If not found, KeyError is raised. Changed in version 3.3: Support for name aliases [1] and named sequences [2] has been added.

unicodedata.decimal()

unicodedata.decimal(chr[, default]) Returns the decimal value assigned to the character chr as integer. If no such value is defined, default is returned, or, if not given, ValueError is raised.

unicodedata.east_asian_width()

unicodedata.east_asian_width(chr) Returns the east asian width assigned to the character chr as string.

unicodedata.decomposition()

unicodedata.decomposition(chr) Returns the character decomposition mapping assigned to the character chr as string. An empty string is returned in case no such mapping is defined.