splittingred / getFeed

A simple snippet to retrieve an RSS feed and iterate the feed items using a Chunk.
http://svn.modxcms.com/docs/display/ADDON/getFeed
7 stars 6 forks source link

UTF-8 Character Issues with the Magpie #2

Closed avoronkin closed 14 years ago

avoronkin commented 14 years ago

getFeed 1.0.0 beta2,Revolution 2.0.0-rc-3 rev7061. It's return ???????????? for utf-8 encoded feeds (for example try http://modxcms-jp.com/rss.html or http://community.modx-cms.ru/rss/allcomments/ ).

Quick fix is to add this line to snippet code: define('MAGPIE_OUTPUT_ENCODING', 'UTF-8'); By default it is set ISO-8859-1

splittingred commented 14 years ago

Fixed in 1.0.0-rc1