why isn\'t this working as expected:
echo str_replace(\"é\",\"é\",\"Fédération Camerounaise de Football\");
result:
\"F
Check The following Code:
$chain="Fédération Camerounaise de Football"; $pattern = array("'é'"); $replace = array('é'); $chain = preg_replace($pattern, $replace, $chain); echo $chain;