Remove special charcters in string thats already utf8 encoded

by rajesh 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.
1114
like
0
dislike
0
mail
flag

You must LOGIN to add comments