RSS Feed Strange Characters

Status
Not open for further replies.

louie

New Member
try this
PHP:
$feed = str_replace("’","´",$feed);
//where ’ is the cause of your problem
 

ziycon

New Member
try this
PHP:
 = str_replace("’","´",);
//where ’ is the cause of your problem
That worked and i fixed the pound and euro symbols but the double quotes i can't seem to sort!?

Forbairt said:
what are you using to generate the feeds ?
Created a php file to generate the rss pages.
 

louie

New Member
Did you run the last option i gave you?
you have an error in the feed as it said...
Code:
“Cryptic will unveil the first <em>Star Trek Online</em> gameplay footage as well as details about this highly anticipated MMO at the annual <em>Star Trek Convention</em> in Las Vegas on Sunday, August 10, 2008.”

so sanitize it
PHP:
feed_variable = str_replace(array('“','"'),"&quot;",feed_variable);
 
Status
Not open for further replies.
Top