skip to main
|
skip to sidebar
Note for web
2008年8月17日 星期日
自資料庫中取出的中文成了亂碼
在開始query的最前面加上
$charset = mysql_query("SET NAMES 'utf8'");
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
標籤
中文顯示
(1)
php
(1)
smarty
(1)
文章列表
▼
2008
(3)
▼
8月
(3)
php內中文截取字串的作法mb_substr()
自資料庫中取出的中文成了亂碼
Smarty truncate雙位元字元的問題
訂閱
發表文章
Atom
發表文章
留言
Atom
留言
沒有留言:
張貼留言