Convert or check Chinese encoding in php

check if Trad or Simp Chinse http://stackoverflow.com/questions/4083038/recognizing-text-as-simplified-vs-traditional-chinese $test1 = iconv(“UTF-8”, “big5//TRANSLIT”, $text); $test2 = iconv(“UTF-8”, “big5//IGNORE”, $text); if ($test1 == $test2) { echo ’traditional’; } else { $test3 = iconv(“UTF-8”,…