From: Hypolite Petovan Date: Mon, 17 Dec 2018 03:58:43 +0000 (-0500) Subject: Fix feed display in browser when using emojis X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=faff105f861f7decc7cd7bfc44db558dc50f29af;p=friendica.git Fix feed display in browser when using emojis --- diff --git a/src/Module/Feed.php b/src/Module/Feed.php index 4c7059c038..e5ebe2a4d6 100644 --- a/src/Module/Feed.php +++ b/src/Module/Feed.php @@ -44,6 +44,7 @@ class Feed extends BaseModule case 'posts': case 'comments': case 'activity': + // Correct type names, no change needed break; case 'replies': $type = 'comments'; @@ -53,8 +54,8 @@ class Feed extends BaseModule } $nickname = $a->argv[1]; - header("Content-type: application/atom+xml"); + header("Content-type: application/atom+xml; charset=utf-8"); echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true); - killme(); + exit(); } }