»

LJ::is_ascii

LJ::is_ascii — checks if text is pure ASCII

Use

LJ::is_ascii(text);

Arguments

  • text. text to check for being pure 7-bit ASCII text

Source:

cgi-bin/ljlib.pl

Returns:

1 if text is indeed pure 7-bit, 0 otherwise.