LJ::is_ascii — checks if text is pure ASCII.
LJ::is_ascii(text);
LJ::is_ascii(
)
text. text to check for being pure 7-bit ASCII text.
cgi-bin/ljtextutil.pl
1 if text is indeed pure 7-bit, 0 otherwise.