Stripping weird characters from RSS feed
| From: | Paul Nowosielski | Date: | Mon, 23 Jan 2006 21:56:10 +0000 |
| Subject: | Stripping weird characters from RSS feed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229133@lists.php.net to get a copy of this message | ||
Hi All,
I have a RSS feed aggregater that grabs RSS from the net then stores it
to a MySQL database. Once in a while I get feeds with weird characters
look really bad.
Such as:
â€
Â
Ghana: Country Loses ¢20.2bn Through Music Piracy
Angola: VirgÃlio Fire to Release New Album Soon
Trucks’in into 2006
The Best CDs of 2005: Editor’s Picks
These are copies of the links, as you can see there are some strange
characters.
Any suggestions on how to deal with these would be appreciated.
TIA!
--
Paul Nowosielski