I'm pulling some content from a RSS feed and a single quote (e.g. won't) is causing some output anomalies on my site...
heres the feed:
http://www.msnbc.msn.com/id/8874569/device/rss/rss.xml
its the 5th article down as of this writing titled: "Fannie Mae won’t evict renters in foreclosures"
on my site that title renders: Fannie Mae Won’t Evict Renters In Foreclosures
this is my code for capturing the title:
$title = @ucwords(strtolower($xml->channel->item[$i]->title));
i have tried htmlentities(); htmlspecialchars(); etc... nothing seems to fix it
any help is appreciated...
TIA