phpBB2強制讀取UTF8資料庫

在include/db.php的底部

$db->sql_query(“SET NAMES utf8;");
$db->sql_query(“SET CHARACTER_SET_CLIENT=utf8;");
$db->sql_query(“SET CHARACTER_SET_RESULTS=utf8;");

適用於"確定資料庫內容已經為UTF8″之資料庫
(似乎可以用phpMyAdmin以UTF8模式去看 來檢查)

2 則迴響 »

  1. idnedhelp said

    Holla,

    Can you explain me how to create new poll on this forum. Thanks :)

  2. Welcome,

    Can you explain me how to create new poll on this forum. Thanks :)

RSS feed for comments on this post · TrackBack URI

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s

%d 位部落客按了讚: