摘要: // 检测字符的编码格式 $encode = mb_detect_encoding($string, array('ASCII','UTF-8','GB2312','GBK','BIG5')); echo $encode; // 转换编码格式 if ($encode == 'UTF-8'){ $st 阅读全文
posted @ 2016-01-30 11:37 斌-逸风 阅读(5356) 评论(0) 推荐(0) 编辑