const unicode/utf8.RuneError

54 uses

	unicode/utf8 (current package)
		utf8.go#L16: 	RuneError = '\uFFFD'     // the "error" Rune or "Unicode replacement character"
		utf8.go#L65: 	runeErrorByte0 = t3 | (RuneError >> 12)
		utf8.go#L66: 	runeErrorByte1 = tx | (RuneError>>6)&maskx
		utf8.go#L67: 	runeErrorByte2 = tx | RuneError&maskx
		utf8.go#L174: 		return RuneError, 0
		utf8.go#L183: 		return rune(p[0])&^mask | RuneError&mask, 1
		utf8.go#L188: 		return RuneError, 1
		utf8.go#L192: 		return RuneError, 1
		utf8.go#L199: 		return RuneError, 1
		utf8.go#L206: 		return RuneError, 1
		utf8.go#L234: 		return RuneError, 0
		utf8.go#L243: 		return rune(s[0])&^mask | RuneError&mask, 1
		utf8.go#L248: 		return RuneError, 1
		utf8.go#L252: 		return RuneError, 1
		utf8.go#L259: 		return RuneError, 1
		utf8.go#L266: 		return RuneError, 1
		utf8.go#L282: 		return RuneError, 0
		utf8.go#L303: 		return RuneError, 1
		utf8.go#L319: 		return RuneError, 0
		utf8.go#L340: 		return RuneError, 1

	bufio
		scan.go#L304: var errorRune = []byte(string(utf8.RuneError))

	bytes
		bytes.go#L144: 	case r == utf8.RuneError:
		bytes.go#L147: 			if r1 == utf8.RuneError {
		bytes.go#L231: 				if r == utf8.RuneError {
		bytes.go#L245: 			r = utf8.RuneError
		bytes.go#L270: 		if r != utf8.RuneError {
		bytes.go#L318: 				if r == utf8.RuneError {
		bytes.go#L332: 			cr = utf8.RuneError
		bytes.go#L354: 		if r != utf8.RuneError {

	crypto/x509
		verify.go#L902: 		if c == utf8.RuneError {

	encoding/json
		decode.go#L1209: 		if rr == utf8.RuneError && size == 1 {
		encode.go#L1040: 		if c == utf8.RuneError && size == 1 {

	fmt
		format.go#L468: 		r = utf8.RuneError
		format.go#L479: 		r = utf8.RuneError

	github.com/go-faster/jx
		w_str_escape.go#L181: 		if c == utf8.RuneError && size == 1 {

	go.opentelemetry.io/otel/attribute
		value.go#L957: 		if r == utf8.RuneError && size == 1 {

	go.opentelemetry.io/otel/trace
		auto.go#L392: 		if c != utf8.RuneError {

	path
		match.go#L210: 	if r == utf8.RuneError && n == 1 {

	path/filepath
		match.go#L213: 	if r == utf8.RuneError && n == 1 {

	strconv
		quote.go#L42: 		if width == 1 && r == utf8.RuneError {
		quote.go#L57: 		r = utf8.RuneError
		quote.go#L218: 		if r == utf8.RuneError {
		quote.go#L436: 				valid = len("'")+n+len("'") == end && (r != utf8.RuneError || n != 1)

	strings
		strings.go#L132: 	case r == utf8.RuneError:
		strings.go#L134: 			if r == utf8.RuneError {
		strings.go#L210: 			r = utf8.RuneError
		strings.go#L243: 			rc = utf8.RuneError
		strings.go#L263: 			rc = utf8.RuneError
		strings.go#L543: 		if r == c && c != utf8.RuneError {
		strings.go#L548: 		if c == utf8.RuneError {
		strings.go#L794: 		if c != utf8.RuneError {

	vendor/golang.org/x/net/idna
		idna10.0.0.go#L444: 			return s, bidi, runeError(utf8.RuneError)
		idna10.0.0.go#L492: 				err = runeError(utf8.RuneError)
		idna10.0.0.go#L635: 			return runeError(utf8.RuneError)