2013年4月23日
摘要: // Returns true if $string is valid UTF-8 and false otherwise.function is_utf8($word){if (preg_match("/^([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){1}/",$word) == true || preg_match 阅读全文
posted @ 2013-04-23 16:42 Right_MR 阅读(209) 评论(0) 推荐(0)