土耳其语字符 Ş İ Ö Ü 不支持。我累极了。
<?php
header('Content-Type: text/html; charset=utf-8');
$test = "azAZ09andSpace supported but this turkish characters Ş İ Ö Ü like not supported";
//So it goes to the "else block".
if (preg_match('/^[a-zA-Z0-9 ]+$/', $test)){
echo "match";
}else{
echo "not match"; //return false. Because Ş İ Ö Ü like not supported
}
?>
临摹微笑