title: php str_replace problem with single quote getting converted to &039
body: <p>I am using str_replace to replace some characters and for some reason the output converts single quotes to &amp;039. I am not trying to replace single quotes at all. What can be causing this?</p>