SimplePie Encoding

Hoodfoo

New Member
I am using SimplePie to parse and display an xml feed on my site. I have two separate rss feeds and I running each one through SimplePie then displaying them in the side bar. The problem I am having is that each feed contains smart quotes and they are displayed as odd characters in the browser. SimplePie has the encoding set as UTF-8, but the characters still show up.I put in a small function to remove the quotes (below) but they still show up.\[code\]function killsmartquotes($content){ $content = str_replace("
 
Back
Top