func unicode/utf8.Valid

3 uses

	unicode/utf8 (current package)
		utf8.go#L470: func Valid(p []byte) bool {

	crypto/x509
		parser.go#L86: 		if !utf8.Valid(value) {

	encoding/asn1
		asn1.go#L489: 	if !utf8.Valid(bytes) {