Skip to content

Commit

Permalink
RSS feed should be sent with charset=utf-8 header
Browse files Browse the repository at this point in the history
  • Loading branch information
uniun committed Aug 29, 2014
1 parent 6fed1f6 commit 6449012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/RSSFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function outputToBrowser() {

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);
Expand Down

0 comments on commit 6449012

Please sign in to comment.