add charset utf-8 in index.php, fix the display problem in Chinese

This commit is contained in:
wogong 2013-05-04 10:46:10 +08:00
parent 4402daf003
commit c641aeea58

View file

@ -24,7 +24,7 @@
$withToolbar = false; $withToolbar = false;
if (!isset($_COOKIE['toolbar'])) $withToolbar = true; 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); $page = getURLParam ("page", Base::PAGE_INDEX);
$query = getURLParam ("query"); $query = getURLParam ("query");
$qid = getURLParam ("id"); $qid = getURLParam ("id");