Description

IsText reports whether a significant prefix of s looks like correct UTF-8; that is, if it is likely that s is human-readable text.