Jump to content

Decode XML characters from RSS XML document


the182guy

Recommended Posts

Hi all,

 

My PHP script takes an RSS feed URL and parses the content to the database.

 

I am using simplexml_load_string to parse the XML string to a DOM.

 

The problem is the RSS feed could be any encoding.. UTF-8, ISO etc. I want to be able to pass my XML string through something that will decode all those symbols and encodings to normal characters.

 

Anyone know of a function for this? I've been searching for ages ???

 

Cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.