utf8.is_valid
Available inall subroutines.
Returns true if the string s contains valid UTF-8 and returns false if it
does not contain valid UTF-8. An empty string is considered valid.
Available inall subroutines.
Returns true if the string s contains valid UTF-8 and returns false if it
does not contain valid UTF-8. An empty string is considered valid.