The variable *specific-valid-file-encodings*
is a list used by specific-valid-file-encoding, which tests each element of *specific-valid-file-encodings*
to see if it is valid for the contents of buffer, bounded by length, and returns the first valid encoding.
LispWorks User Guide and Reference Manual - 20 Sep 2017