0
点赞
收藏
分享

微信扫一扫

message:"iconv(): Detected an illegal character in


这个错误怎么搞?废话不多说

message:"iconv(): Detected an illegal character in input string"

旧代码:

$row[$key] = iconv('utf-8', 'gbk', $value);

新代码:

$row[$key] = iconv('utf-8', 'gbk//ignore', $value);

//或者

$row[$key] = mb_convert_encoding($value,'utf-8', 'gbk');



__________________________________________________________________________________

若有帮助到您,欢迎点击推荐,您的支持是对我坚持最好的肯定(*^_^*)

你要保守你心,胜过保守一切。

作者:刘俊涛的博客​


举报

相关推荐

0 条评论