From 64490129c2609f70be166661238fd9c00394f6d0 Mon Sep 17 00:00:00 2001 From: "Elvinas L." Date: Fri, 29 Aug 2014 11:04:44 +0300 Subject: [PATCH] RSS feed should be sent with charset=utf-8 header --- api/RSSFeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/RSSFeed.php b/api/RSSFeed.php index df0ce0d26..acc81fb02 100644 --- a/api/RSSFeed.php +++ b/api/RSSFeed.php @@ -201,7 +201,7 @@ class RSSFeed extends ViewableData { if(!headers_sent()) { HTTP::add_cache_headers(); - $response->addHeader("Content-Type", "application/rss+xml"); + $response->addHeader("Content-Type", "application/rss+xml; charset=utf-8"); } Config::inst()->update('SSViewer', 'source_file_comments', $prevState);