I have a string with “\u00a0”, and I need to replace it with “” str_replace fails

Works for me, when I copy/paste your code. Try replacing the double quotes in your str_replace() with single quotes, or escaping the backslash ("\\u00a0").

Leave a Comment

tech