怎么我的不会输出为Nill呢。
$arr=array('id'=>1,'name'=>'hose');
$data="你好啊";
$newdata=iconv('utf-8','gbk',$data);
echo json_encode($newdata);
$arr=array('id'=>1,'name'=>'hose');
$data="你好啊";
$newdata=iconv('utf-8','gbk',$data);
echo json_encode($newdata);
2015-11-16