$encode = mb_detect_encoding($a[0], array("ASCII","GB2312","GBK","UTF-8"));
获取某字符串的字符编码
最新推荐文章于 2021-03-16 10:59:48 发布
$encode = mb_detect_encoding($a[0], array("ASCII","GB2312","GBK","UTF-8"));