Big5 資料庫轉 UTF8

回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Big5 資料庫轉 UTF8

文章 yehlu »

1.用 phpMyAdmin 下載 xxx.sql 檔
2.用converZ 轉碼
3.修改 sql 檔把有問題的字取代掉 如 \ ? ' 並把編碼拿掉
4.進入 mysql xxx -u root
5.設定編碼
SET NAMES utf8;
SET CHARACTER_SET_CLIENT=utf8;
SET CHARACTER_SET_RESULTS=utf8;
6.source xxx.sql
回覆文章

回到「MySQL」