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”,…

Cakephp cache problem

Table for model not found in datasource default http://stackoverflow.com/questions/17145332/table-for-model-not-found-in-datasource-default I faced this problem today. The suggested solution in SOF no use. I end up cleared the cache in app/tmp/model