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...