html_entity_decode is trying to kill me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

So I decided to give one of those PHP math classes a go and have come
across a joyful character encoding problem.  He's the deal:

$rule = "1 < 2";
$rule = html_entity_decode($rule, ENT_QUOTES, 'UTF-8');
echo $rule;

And the result is still "1 < 2".  I've tried different combinations
of character encodings and quotings, to no avail.  Any ideas of where
I should look for the culprit?

Marc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux