Hi. In robot_functions find:
PHP Code:
$text = ereg_replace('&#([0-9]+);',chr('\\1').' ',$text);
and replace with:
PHP Code:
while (eregi('&#([0-9]{3});',$text,$reg)) {
$text = str_replace($reg[0],chr($reg[1]),$text);
}
while (eregi('&#x([a-f0-9]{2});',$text,$reg)) {
$text = str_replace($reg[0],chr(base_convert($reg[1],16,10)),$text);
}