Re: [PHP-I18N] ctype_print returns false for British Pound symbol (and non-ASCII symbols)
[email protected] (Rasmus Lerdorf) Fri, 26 Feb 2010 13:53:16 -0800
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
Bob wrote: > Hello, Norbert. > > I'm using Netbeans IDE and it's in UTF-8 mode, as is my en_GB.UTF-8 > locale. > > Just to be sure, though, I also tried this: > > $string = "\xc2\xa3"; //UTF byte encoding for the British Pound sign > $this->assertTrue(ctype_print($string)); > > I believe that \xc2\xa3 is the UTF-8 byte encoding for the £ symbol, but > correct me if I'm wrong. ctype functions do not support multibyte encodings. -Rasmus