find-charset-string

find-charset-string is a built-in function in `C source code'.

(find-charset-string STR &optional TABLE)

Return a list of charsets in STR.
Optional arg TABLE if non-nil is a translation table to look up.

If STR is unibyte, the returned list may contain
only `ascii', `eight-bit-control', and `eight-bit-graphic'.