It's a known error - I have an email with Matthew awaiting permission to fix it 
since it introduces some minor backwards incompatible changes. The quick 
solution is to delete all references to html_entity_decode() in 
Zend_Feed_Reader (just assign the base string without decoding). The intention 
is to eliminate all decoding (outside of the usual XML DOM basics) and let the 
user handle the character set issues on their end. This will avoid similar 
warnings and is mostly being done because we cannot enforce character set safe 
decoding (as the warning says, we can't decode win-1250 for example).

When Matthew gets back to me, I'll be committing the permanent fix to trunk.

Paddy

 Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative





________________________________
From: Саша Стаменковић <[email protected]>
To: Nabble Zend Framework General <[email protected]>
Sent: Tue, May 11, 2010 7:37:31 AM
Subject: [fw-general] Warning in Zend\Feed\Reader\Entry\Rss.php with 
windows-1250 charset

When importing RSS feed with windows-1250 charset, I get 

WARN (4): html_entity_decode() [<a 
href='function.html-entity-decode'>function.html-entity-decode</a>]: charset 
`windows-1250' not supported, assuming iso-8859-1 in 
Zend\Feed\Reader\Entry\Rss.php #339.

Any idea?

Regards,
Saša Stamenković

Reply via email to