Availability:built-in
[ISO]char_code(?Atom, 
?Code)Convert between a single character (an atom of length 1), and 
its
character code (an integer denoting the corresponding 
character). The predicate alternatively accepts an SWI-Prolog string of 
length 1 at Atom place.