1 頁 (共 1 頁)

mysql + php

發表於 : 08/23/2002 2:39 pm
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 ]

mysql + php

發表於 : 08/24/2002 12:10 am
Ascent
eregi_replace('&#', '&#', htmlspecialchars($content))

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

[ 08-24-2002: 留言編輯者: Ascent ]