//将UNICODE编码转换为中文function unicode_decode($name){ $json = '{"str":"'.$name.'"}'; $arr = json_decode($json,true); if(empty($arr)) return ''; return $arr['str'];}