add charset utf-8 in index.php, fix the display problem in Chinese
This commit is contained in:
parent
4402daf003
commit
c641aeea58
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue