<?php $test = '中'; $anchor = mb_convert_encoding($test, 'UTF-8', 'GB2312'); if (preg_match("/[\p{Han}]/simu", $anchor)) { echo 'Yay'; }
You have javascript disabled. You will not be able to edit any code.