Maybe u can try this:
As u know BIG5 is doublebyte character and the first byte should be greater than 127.
so:
#################################
function addspace($str){
$new_str;
$i = 0;
while($i < strlen($str)){
$c = substr($str, $i, 1);
$new_str .= $c;
if (ord($c) > 127){ // 1st double byte find!
$i++;
$new_str .= substr($str, $i, 1)." "; // add 2nd byte and space
}
$i++;
}
return $new_str;
}
#################################
hope it is helpful.