is_utf8(str)
判断str是否只包含utf-8编码的字符
boolean
> select a, is_utf8(a) from values (""), ("abcd"), ("中文"), (",。") as t(a); true abcd true 中文 true ,。 true