How do I replace this character using PHP?



The character comes from an XML feed.


Here is an excerpt:



Kock’s parole


As you see, it is not a normal '


We tried



$sql = str_replace("’", "\'", $sql);


But that does nothing.


Any ideas?


No comments:

Post a Comment