I’m using curl and utf8_encode to get the xml from from an rss feed of blog posts from another web site. But when someone puts an ellipsis in their post, I get a weird characterter which, when I view the source code, is %e2%80%a6/
So, my question is what can I do to either eliminate the ellipsis when I present the output or change it into something that works when I present this on my site? Note, the RSS feed has charset=utf-8 and so does the page where I’m trying to present the feed on my site.
Don’t
utf8_encodetext that is already UTF-8 encoded.utf8_encodeconverts text from ISO-8859-1 to UTF-8. Text that is not ISO-8859-1 encoded or that’s already UTF-8 encoded will be messed up because of it.