Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (8 sloc) 161 Bytes
<?php
/**
* @param string $string
* @return bool
*/
function detect_japanese($string){
return preg_match('/[\x80-\x9f\xce-\xcf\xe0-\xfc]/m', $string) > 0;
}