调试yii程序php页面显示中文

zend studio的workspace的编码方式改为UTF-8。

php页面的编码方式改为如下所示:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

posted @ 2012-11-11 21:12  唾手可得的树  阅读(181)  评论(0编辑  收藏  举报