None of the feeds I try can be reached!
e.g.

http://www.info4local.gov.uk/static/rssFeed/subjects/Subject_3987_Rss.xml
http://ted.europa.eu/RSS/EN/RSS_RECO_ALL.xml#
http://www.journals.uchicago.edu/cgi-bin/rss?jrnl=EDCC&type=latestissue

I know that the first (info4local) works on the default aggregator and feedparser.
No errors have been reported in the log.

Comments

robsteranium’s picture

erapetti’s picture

I found that the problem is caused in function SimplePie_Misc::utf8_bad_replace, where the code used depends on the PHP version in use.

I'm using PHP 4.3.2, and the code enabled in that case inserts additional caracters even when the input is already in UTF-8.

I have edited simplepie.inc changing line 7694 for the following code:

// return implode("\xEF\xBF\xBD", $matches[0]);
return $str;

As long as the input is in UTF-8 this seems to be okay.

gsnedders’s picture

It'd be helpful if there was more information provided in the SP bug report, though with that workaround (which is totally flawed as it'll fail on everything that isn't valid UTF-8) it's clear that it's actually just http://simplepie.org/support/viewtopic.php?id=1046

m3avrck’s picture

Status: Active » Fixed

This is a SimplePie issue and has been fixed: http://simplepie.org/support/viewtopic.php?pid=3980#p3980 -- grab that version of SimplePie if you wish :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)