From: Andrew Dolgov Date: Wed, 22 Feb 2012 09:54:47 +0000 (+0400) Subject: fix encoding for pref-feeds/add when called as a HTML page (closes #423) X-Git-Tag: 1.5.11~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f4ce1d645e29552839008be63332104a85cdcfdc;p=tt-rss.git fix encoding for pref-feeds/add when called as a HTML page (closes #423) --- diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index 442eaba3..aef39f33 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -992,11 +992,12 @@ class Pref_Feeds extends Protected_Handler { $auth_pass = db_escape_string(trim($_POST["auth_pass"])); if ($p_from != 'tt-rss') { - header("Content-Type: text/html"); + header('Content-Type: text/html; charset=utf-8'); print " Tiny Tiny RSS +