In PHP 5.3, I am trying to replace double quotes in a string as such:
$bar = str_replace('"','\'',$foo);
But some quotes that are stored in utf8-Database are not replaced, although they look completely normal:
"Some text"
Are there different types of characters I should look for? If so, what are they?
php quotes utf-8
Urs
source share