时间:2021-07-01 10:21:17 帮助过:4人阅读
http://www.bkjia.com/PHPjc/486172.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/486172.htmlTechArticle?php function chkbm($string){ $bm = array(ASCII, GBK, UTF-8); foreach($bm as $c){ if( $string === iconv(UTF-8, $c, iconv($c, UTF-8, $string))){//转换编码后是不是相等 retu...