I am trying for an hour to make the replace working. There is really no reason why it shouldn't work, but it is just not working.
echo $title22;
$title22 = str_replace('–','dsdas',$title22);
echo $title22;
output:
Something – something else
Something – something else
I guess that i use wrong kind of this symbol: –, but i have tried the both option on my tastature and none of them work. Does replace works with the symbol or not?