From c641aeea581531f7879bed831d298a95fd325f7f Mon Sep 17 00:00:00 2001 From: wogong Date: Sat, 4 May 2013 10:46:10 +0800 Subject: [PATCH] add charset utf-8 in index.php, fix the display problem in Chinese --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7b9c8f9..6351a3d 100644 --- a/index.php +++ b/index.php @@ -24,7 +24,7 @@ $withToolbar = false; if (!isset($_COOKIE['toolbar'])) $withToolbar = true; - header ("Content-Type:application/xhtml+xml"); + header ("Content-Type:application/xhtml+xml;charset=utf-8"); $page = getURLParam ("page", Base::PAGE_INDEX); $query = getURLParam ("query"); $qid = getURLParam ("id");