Function: encode-char

Encode the character CH into a code-point of CHARSET.
Return nil if CHARSET doesn't include CH.

Optional argument RESTRICTION specifies a way to map CH to a
code-point in CCS. Currently not supported and just ignored.

(fn CH CHARSET &optional RESTRICTION)