mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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.
This commit is contained in:
parent
b051f1487a
commit
8820a3aa8f
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user