php jsonerrorutf8,php json_encode JSON_ERROR_UTF8 Malformed UTF-8 characters, possibly incorrectly e.
最近在项目中遇到json_encode返回false,通过json_last_error()和json_last_error_msg()函数获取到的错误代码为5,错误信息为MalformedUTF-8characters,possiblyincorrectlyencoded,参考代码://用户信息$data=['age'=>18,'name'=>'高久峰'];//过长字段截取$data['name