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

[email protected] (Norbert Lindenberg ♻) Fri, 26 Feb 2010 14:19:45 -0800
Newsgroups php.i18n
Message-ID <[email protected]>
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
>