is_ascii(str)
Determines whether the string str contains only ASCII-encoded characters.
str
> SELECT a, is_ascii(a) FROM VALUES (""), ("abcd"), ("中文"), (",。") AS t(a); true abcd true 中文 false ,。 false