From f4ce1d645e29552839008be63332104a85cdcfdc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 22 Feb 2012 13:54:47 +0400 Subject: [PATCH] fix encoding for pref-feeds/add when called as a HTML page (closes #423) --- classes/pref_feeds.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +