By - superajPosted in Web相关PHP判断输入是否为中文if (preg_match("/^[\x7f-\xff]+$/", $str)) { //兼容gb231 Read More