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.
User contributed notes
BETADo you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)