1

I have a string that contains unreadable space character:

enter image description here

How can I replace this character with a normal space so I can get a string like: "a b c d"

I have tried this:

$str = utf8_decode($str);

But it converts that character to question mark ?

Jay.
  • 191
  • 12
  • The accepted answer in https://stackoverflow.com/questions/64807948/trim-unicode-whitespaces-php should help. – lukas.j Jul 05 '22 at 18:20

0 Answers0