In PHP, what is the best way to split a string into an array of Unicode characters? If the input is not necessarily UTF-8?
I want to know whether the set of Unicode characters in an input string is a subset of another set of Unicode characters.
Why not run straight for the mb_ family of functions, as the first couple of answers didn't?