close
<?php
$input = iconv("BIG5", "UTF-8", $input);
$pattern = '/[\x{4e00}-\x{9fa5}]+/u';
preg_match_all ( $pattern, $input, $matches );
?>
紀錄一下~
這個網站 有中文字的 unicode 代碼
研究好久...崩潰= =
p.s CJK - 中日韓的漢字 ( Chinese Hanzi / Japanese Kanji / Korean Hanja )
全站熱搜
留言列表