From ea70a0da812eb12d93850de7c4f5bea84a7c1c32 Mon Sep 17 00:00:00 2001 From: Youchen Lee Date: Sat, 20 Dec 2014 15:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8A=20health=20=E9=A0=81?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=20charset=20=E5=AE=A3=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webdata/controllers/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdata/controllers/IndexController.php b/webdata/controllers/IndexController.php index 9577fa3..14bcb03 100644 --- a/webdata/controllers/IndexController.php +++ b/webdata/controllers/IndexController.php @@ -67,7 +67,7 @@ public function searchAction() public function healthAction() { - header('Content-Type: text/plain'); + header('Content-Type: text/plain; charset=utf-8'); $ret = array(); $check_time = 30; // 幾分鐘沒有從列表抓到任何新聞就要警告