php下检测字符串是否是utf8编码的代码 functionis_utf8($string){ returnpreg_match( %^(?: [ x09 x0A x0D x20- x7E] ASCII |[ xC2- xDF][ PHP编程 2022-04-08 106 点赞 1 评论 160 浏览