summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-02-22 13:54:47 +0400
committerAndrew Dolgov <[email protected]>2012-02-22 13:54:47 +0400
commitf4ce1d645e29552839008be63332104a85cdcfdc (patch)
tree1d8d1060aeee8e442352f5314c5a853cf6ed54e5
parent9dd22f1ec140039462ecd4af0b5f71307c2f121d (diff)
fix encoding for pref-feeds/add when called as a HTML page (closes #423)
-rw-r--r--classes/pref_feeds.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php
index 442eaba3c..aef39f333 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 "<html>
<head>
<title>Tiny Tiny RSS</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"utility.css\">
+ <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
</head>
<body>
<img class=\"floatingLogo\" src=\"images/ttrss_logo.png\"