json里的编码后的中文怎么还原
像这个“\u6d59\u6c5f\u7701\u676d”怎么还原回中文
------解决方案--------------------
json_decode
------解决方案--------------------
linux
$str=preg_replace(#\\\u([0-9a-f]{4})#ie, iconv('ucs-2be', 'utf-8', pack('h4', '\\1')), $str);
windows
$str=preg_replace(#\\\u([0-9a-f]{4})#ie, iconv('ucs-2le', 'utf-8', pack('h4', '\\1')), $str);
浙江省杭