function iconv is changing encoding ... It´s possible that some feeds wouldn´t been in right encoding, but try this :
find
- Code: Select all
// If code page is set convert character encoding to required
if(isset($this->cp))
{
$out[1] = iconv($this->rsscp, $this->cp.'//TRANSLIT', $out[1]);
}
replace with
- Code: Select all
// If code page is set convert character encoding to required
if(isset($this->cp))
{
if(function_exists(iconv))
{
$out[1] = iconv($this->rsscp, $this->cp.'//TRANSLIT', $out[1]);
}
}
Please respond if it works
... But as I said - some feeds could have problems with charset ...






... Somebody reworks original lastRSS class as I already did ... 