Re: ctype_print returns false for British Pound symbol (and non-ASCII symbols)

From: Date: Fri, 26 Feb 2010 22:19:45 +0000
Subject: Re: ctype_print returns false for British Pound symbol (and non-ASCII symbols)
References: 1 2 3 4 5 6  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1385@lists.php.net to get a copy of this message
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


« previous php.i18n (#1385) next »