判断字符串是否为合法的 UTF-8 编码。空字符串和纯 ASCII 字符串均返回 TRUE。
IS_UTF8(<str>)
<str>
SELECT is_utf8('hello'); -- true SELECT is_utf8('中文'); -- true SELECT is_utf8(''); -- true