作者shoeshoeshoe (broken tonight)
看板Database
標題[SQL ] 請問mysql 編碼
時間Wed Oct 7 22:21:17 2009
請問我讀資料是讀big-5到專案裡(netbeans也是設定為big5格式)
我DB的table是設定成big5_chinese_ci,可是讀出來是亂碼
請問我該選哪種編碼才可以呢?
苦惱阿,大大們
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.138.148.171
1F:→ shoeshoeshoe:netbeans ->phpmyadmin(mysql) 10/07 22:21
2F:推 PsMonkey:jdbc 怎麼設定的? 10/07 23:21
3F:→ shoeshoeshoe:connectURL = "jdbc:mysql://localhost/ptt"; 10/07 23:32
4F:→ shoeshoeshoe:?useUnicode=true&characterEncoding=Big5 10/08 07:40