function Gbk2Utf8($data){
if(is_array($data)){
foreach($data as $key => $value){
$data[$key]=call_user_func(__FUNCTION__,$value);
}
return $data;
}
return iconv("gbk","utf-8",$data);
}
function Utf82Gbk($data){
if(is_array($data)){
foreach($data as $key => $value){
$data[$key]=call_user_func(__FUNCTION__,$value);
}
return $data;
}
return iconv("gbk","utf-8",$data);
}