Is anyone else using PHP 4 in Ubuntu 7.04?
I cannot, no matter what I've tried, get PHP's ctype_print function to accept the British pound sterling symbol, £, as a printable character, even though it should be.
For instance, the following:
setlocale(LC_CTYPE, 'en_GB.utf8', 'en_GB.UTF-8');
$valid_string = ctype_print('£');
always returns false under Ubuntu 7.04, even though it correctly returns true on the Linux server that my web host uses, and in Windows.
I've tried all manner of suggested fixes for locale problems, but I still cannot get PHP's ctype_print function to recognise the British pound symbol.
Has anyone else encountered this, and has anyone found a solution?