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