<? /*********************************************************************** Written by caocao caocao@eastday.com http://caocao.oso.com.cn
With the help of Keyes Keyes2000@263.net http://my-wjl.scu.edu.cn/~Keyes ***********************************************************************/ function isbig5($code) { if (strlen($code)>=2) { $code=strtok($code,"");
function wordtostring($code) { return (chr(hexdec(substr($code,0,2))).chr(hexdec(substr($code,2,2)))); }
function big5togb($code) { include "data_big5.php"; $output=""; $length=strlen($code); $code=strtok($code,""); $idx=0; while ($idx < $length) { $tmpStr=$code[$idx].$code[$idx+1];