摘要:
搜集的两个function第一个在我的测试中发现不够好,大部分还是准的// Returns true if $string is valid UTF-8 and false otherwise. function is_utf8_bak($word) { if (preg_match("/^([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{ 阅读全文