WordPress 常用函数 / seems_utf8
检测字符串是否是 UTF-8 编码。
<?php seems_utf8( $string ); ?>
<?php seems_utf8( $string ); ?>(string) (required) 要检测的字符串
Default: None
(boolean)
如果 $string 是 UTF-8 编码,返回 true,否则返回 false。
Since: 1.2.1
wp-includes/formatting.php