I’m scraping rss feed data from rss xml. Some of the strings have quotes in them. I’m running the strings through htmlentities() before i stick them in the database. Then when i try to display that same information in the browser, the quotes show up as “â??”. The character is stored as “& acirc; ??s”(no spaces) in the database
the header of my page
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
I’m sure other entities are not displaying correctly. How should i go about correcting this?
An example feed with the quotes around “Agawi”:
http://feeds.feedburner.com/TechCrunch/gaming
Yes, because those are not regular quotes
“”, more likeMicrosoft Wordquotes.You should take
feedburner‘s example and transform them into“and”manually.for example