Convert some HTML entities to characters, using the Western European character-set in PHP
Description
The following code shows how to convert some HTML entities to characters, using the Western European character-set.
Example
/*from w w w .ja v a 2 s . c o m*/
<?php
$str = "#039;";
echo html_entity_decode($str, ENT_QUOTES, "ISO-8859-1");
?>
The code above generates the following result.