From 8820a3aa8f2cb4881e13f032efae0d8e8bc369d9 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 2 Feb 2015 08:25:36 +0545 Subject: 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. --- usr/local/www/widgets/widgets/rss.widget.php | 1 - 1 file changed, 1 deletion(-) (limited to 'usr/local/www') 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) { -- cgit v1.1