Remove special charcters in string thats already utf8 encoded
by rajesh[ Edit ] 2014-05-13 20:44:13
$str = iconv("UTF-8", "UTF-8//IGNORE", $str);
If the string has special characters and its encoding is already utf-8 we can use iconv function to remove such characters using the above command.