Is $charset text?

Find whether $text is valid $charset.

Usage

string, string is_charset -> boolean

Comments