Next: Text Comparison, Previous: Predicates for Characters, Up: Strings and Characters [Contents][Index]
This function converts a character into an equivalent integer. The resulting integer will always be non-negative. The integers in the range 0 - 255 map to characters as follows:
Control set 0
ASCII
Control set 1
Right half of ISO-8859-1
If support for MULE does not exist, these are the only valid character values. When MULE support exists, the values assigned to other characters may vary depending on the particular version of SXEmacs, the order in which character sets were loaded, etc., and you should not depend on them.
This function converts an integer into the equivalent character. Not
all integers correspond to valid characters; use char-int-p
to
determine whether this is the case. If the integer cannot be converted,
nil
is returned.
This function returns t
if object is an integer that can be
converted into a character.
This function returns t
if object is a character or an
integer that can be converted into one.