summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/rss.widget.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-02-02 08:25:36 +0545
committerPhil Davis <phil.davis@inf.org>2015-02-02 08:25:36 +0545
commit8820a3aa8f2cb4881e13f032efae0d8e8bc369d9 (patch)
treeadb427654ae1e8a779a2ff33bc03b9e51a640a74 /usr/local/www/widgets/widgets/rss.widget.php
parentb051f1487aa2041c8f23342a895da46d9a7b46c2 (diff)
downloadpfsense-8820a3aa8f2cb4881e13f032efae0d8e8bc369d9.zip
pfsense-8820a3aa8f2cb4881e13f032efae0d8e8bc369d9.tar.gz
Remove latin-1 encoding of RSS feed
Many thanks to Gertjan in forum https://forum.pfsense.org/index.php?topic=87504.msg484017#msg484017 Specifically setting the output encoding to latin-1 was causing the "black diamonds" for special characters in the http://blog.pfsense.org RSS feed (e.g. the registered trademark sign after pfSense did not come out). It should all work by letting simplepie do its default stuff with the RSS feed.
Diffstat (limited to 'usr/local/www/widgets/widgets/rss.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/rss.widget.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/rss.widget.php b/usr/local/www/widgets/widgets/rss.widget.php
index c6920f9..4c21a29 100644
--- a/usr/local/www/widgets/widgets/rss.widget.php
+++ b/usr/local/www/widgets/widgets/rss.widget.php
@@ -157,7 +157,6 @@ else
$feed->set_cache_location("/tmp/simplepie/");
$feed->set_feed_url($rss_feed_s);
$feed->init();
- $feed->set_output_encoding('latin-1');
$feed->handle_content_type();
$counter = 1;
foreach($feed->get_items() as $item) {
OpenPOWER on IntegriCloud