public HasMultiBytes ( string $str ) : boolean | ||
$str | string | multi-byte text to wrap encode |
리턴 | boolean |
public function HasMultiBytes($str)
{
if (function_exists('mb_strlen')) {
return strlen($str) > mb_strlen($str, $this->CharSet);
} else {
// Assume no multibytes (we can't handle without mbstring functions anyway)
return False;
}
}