PHP高级工程师|全栈工程师|WX: Aben_Ring

php报错:Notice: iconv(): Wrong charset, conversion from `GBK' to `UTF8' is not allowed

代码写错了

$raw_data = iconv("GBK", "UTF8", $raw_data);

改成

$raw_data = iconv("GBK", "UTF-8", $raw_data);
posted @ 2019-07-03 17:04  懒牛拉车  阅读(4780)  评论(0编辑  收藏  举报