Topic: pun_trim remove some chars in arabic language
function pun_trim($str)
{
$fishy_chars = array(chr(0x81), chr(0x8D), chr(0x8F), chr(0x90), chr(0x9D), chr(0xA0), chr(0xCA), ' ');
return trim(str_replace($fishy_chars, ' ', $str));
}
arabic char is
chr(0xA0)
chr(0xCA)
it make my post funny when reading,
you are remove but you not need that in post message becuase it showed as it.