php big5跟utf-8互轉的指令

來源: http://272586.blogspot.com/2007/06/php-big5utf-8.html

php big5跟utf-8互轉的指令

big5 轉 utf-8
PHP 程式碼:
$str=iconv(“big5″,”UTF-8”,$str);

utf-8 轉 big5
PHP 程式碼:
$str=iconv(“UTF-8″,”big5”,$str);

發表迴響