看板 [ PHP ]
討論串[請益] 請教MySQL編碼問題
共 6 篇文章
首頁
上一頁
1
2
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者Arton0306 (Ar藤)時間17年前 (2008/07/10 09:54), 編輯資訊
0
0
0
內容預覽:
引述《KijneLines (well me :))》之銘言:我也遇到編碼的問題. | Variable_name | Value. | character_set_client | utf8. | character_set_connection | utf8. | character_set
(還有489個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者oishii (喔帥)時間19年前 (2006/03/03 19:55), 編輯資訊
0
0
0
內容預覽:
應該在query之前插入就可以了 大概是這邊吧. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 59.104.7.199.

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者KijneLines (well me :))時間20年前 (2005/10/11 11:26), 編輯資訊
0
0
0
內容預覽:
不妨將mysql的相關編碼設定皆設成utf-8. (包含character set client. character set connection. character set database. character set results. character set server. chara

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者wawawa (哇哇哇○( ̄﹏ ̄)○)時間20年前 (2005/10/10 20:38), 編輯資訊
0
0
0
內容預覽:
其實只要set names big5就可以了. 因為set names big5等同於:. set character_set_client = big5;. set character_set_results = big5;. set character_set_connection = big5

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者TsukinoUsagi (月野兔)時間20年前 (2005/10/10 17:39), 編輯資訊
0
0
0
內容預覽:
我猜你的mysql是4.1版的.. 在php裡連上mysql資料庫之後立刻執行這兩行sql指令:. set names 'big5';. set character set 'big5';. 之後insert, update或select之類的sql指令,. 應該都能正常處理中文字了.. --. 響
首頁
上一頁
1
2
下一頁
尾頁