Weblog entry #472 for simonw

htmlentities and PHP 5.4
Posted by simonw on Wed 19 Dec 2012 at 10:05
Tags: ,
Tucked away in the "Other" section of the migration guide, PHP 5.4 (e.g. the one in Debian testing) has changed the character set expected by htmlentities from ISO-8859-1 to UTF-8. Guess the heavy PHP programmers already know this, but kind of incompatible change that makes the casual programmer go back to Perl.

http://uk3.php.net/manual/en/migration54.other.php