摘要:
function chineseFirst($str){ $str= iconv("UTF-8","gb2312", $str); //如果程序是gbk的,此行就要注释掉 //判断字符串是否全都是中文 if (preg_match("/^[\x7f-\xff]/", $str)) { $fchar=ord($str{0}); if($fchar>=ord("A") and $fchar=-20319 and $val=-20283 and $val=-19775 and $val=-19218 and $va 阅读全文
posted @ 2013-10-25 10:08
优店之家
阅读(234)
评论(0)
推荐(0)