An alternative to ctype might be the PCRE extension. It can be set to
UTF-8 mode by using the /u pattern modifier, and knows about the
Unicode character classes. See
http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
http://www.php.net/manual/en/regexp.reference.unicode.php
Norbert
On Feb 26, 2010, at 14:03 , Rasmus Lerdorf wrote:
Bob wrote:
So they don't work with UTF-8?
They'll work with the single-byte UTF-8 chars, but not the multi-
byte ones.
-Rasmus
--
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php