I have a problem I am trying to solve. I am unable to use preg_replace or str_replace
as we cant predetermine the characters as the data comes from a form input.
I am trying to remove these characters ½ ´ ¤ £ € ¨ from this $name "Test ½ ´ ¤ £ € ¨"
;
I am the same applies for the front end it cant be predetermined characters
I have tried the below and they do not work
$name = "Test ½ ´ ¤ £ € ¨";
mb_convert_encoding(strval($name);
utf8_decode(strval($name);
My ideal out put is Test