mysql + php

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
hello1
新生訓練中
文章: 2
註冊時間: 08/23/2002 1:01 am
來自: nil

mysql + php

#1 文章 hello1 »

How does mysql and php handle Hong Kong Special character set?

mysql only store the "深水埗" as "深水& # 2 2 4 8 7 ; and when i select it from terminal or out put it using phpmyadmin

does PHP parsing or mysql config has any solution to have it to properly display?

p.s. I want to stick with big5hkscs instead of unicode

[ 08-23-2002: 留言編輯者: hello1 ]
頭像
Ascent
留言破百
文章: 206
註冊時間: 04/30/2001 1:01 am
來自: G8
聯繫:

mysql + php

#2 文章 Ascent »

eregi_replace('&#', '&#', htmlspecialchars($content))

try it! [img]images/smiles/icon_biggrin.gif[/img]

[ 08-24-2002: 留言編輯者: Ascent ]
回覆文章