Could this be due to EasyPHP12.1 using PHP 5.4 whereas your other versions all used an older version.
See the php docs for a description on how htmlentities() has changed in 5.4
[
www.php.net]
Try specifying the encoding parameter to be 'ISO-8859-1'.
Hope that helps.