时间:2021-07-01 10:21:17 帮助过:17人阅读
( ! ) Notice: iconv(): Detected an illegal character in input string in D:\wamp\www\cangku\checkname.php on line 7Call Stack# Time Memory Function Location1 0.0011 243120 {main}( ) ..\checkname.php:02 0.0087 252736 iconv ( ) ..\checkname.php:7
$inputName = iconv("gbk//ignore","utf-8",$inputName);
真的很着急!
有人在吗????请教下
$inputName = iconv("gbk","utf-8//ignore",$inputName);
$inputName = iconv("gbk","utf-8//ignore",$inputName);
而且这个 读卡器 在数据库是存在的,那就说明,每次传过去的是乱码或者空值,所以他是可用的
换这个函数试一下,mb_convert_encoding($inputName,'utf-8','gbk')
换这个函数试一下,mb_convert_encoding($inputName,'utf-8','gbk')