]> git.wh0rd.org - tt-rss.git/commitdiff
set content-type header manually to utf-8
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 14 Nov 2008 12:04:37 +0000 (13:04 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 14 Nov 2008 12:04:37 +0000 (13:04 +0100)
prefs.php
tt-rss.php

index dd14d8b69002bf130b3a4e7dec7787de1f6d9e44..eea6108fee732aa0c680cbba34d53364dc9b06eb 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -15,7 +15,9 @@
        $dt_add = get_script_dt_add();
 
        no_cache_incantation();
-
+       
+       header('Content-Type: text/html; charset=utf-8');
+       
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
index 6c44303983dd149b9a5a6eb65dcf7174f18d0bb0..ee22bea893934ba4db36de4832751229c5efc90e 100644 (file)
@@ -16,6 +16,8 @@
 
        no_cache_incantation();
 
+       header('Content-Type: text/html; charset=utf-8');
+       
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">