read-non-nil-coding-system

read-non-nil-coding-system is a built-in function in `C source code'.

(read-non-nil-coding-system PROMPT)

Read a coding system from the minibuffer, prompting with string PROMPT.