I have a very trivial problem with str_replace.
I have a string with the En Dash character ( - ) like this:
I want to remove - the dash
Only this solution worked for me:
$string = str_replace("\x96", "-", $string);