char-equal
char-equal is a built-in function in `C source code
'.
(char-equal C1 C2)
Return t if two characters match, optionally ignoring case.
Both arguments must be characters (i.e. integers).
Case is ignored if `case-fold-search' is non-nil in the current buffer.