const unicode/utf8.RuneError

57 uses

	unicode/utf8 (current package)
		utf8.go#L16: 	RuneError = '\uFFFD'     // the "error" Rune or "Unicode replacement character"
		utf8.go#L154: 		return RuneError, 0
		utf8.go#L163: 		return rune(p[0])&^mask | RuneError&mask, 1
		utf8.go#L168: 		return RuneError, 1
		utf8.go#L172: 		return RuneError, 1
		utf8.go#L179: 		return RuneError, 1
		utf8.go#L186: 		return RuneError, 1
		utf8.go#L202: 		return RuneError, 0
		utf8.go#L211: 		return rune(s[0])&^mask | RuneError&mask, 1
		utf8.go#L216: 		return RuneError, 1
		utf8.go#L220: 		return RuneError, 1
		utf8.go#L227: 		return RuneError, 1
		utf8.go#L234: 		return RuneError, 1
		utf8.go#L250: 		return RuneError, 0
		utf8.go#L274: 		return RuneError, 1
		utf8.go#L290: 		return RuneError, 0
		utf8.go#L314: 		return RuneError, 1
		utf8.go#L354: 		r = RuneError
		utf8.go#L389: 		r = RuneError

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

	bytes
		bytes.go#L164: 	case r == utf8.RuneError:
		bytes.go#L167: 			if r1 == utf8.RuneError {
		bytes.go#L196: 				if r == utf8.RuneError {
		bytes.go#L210: 			r = utf8.RuneError
		bytes.go#L235: 		if r != utf8.RuneError {
		bytes.go#L283: 				if r == utf8.RuneError {
		bytes.go#L297: 			cr = utf8.RuneError
		bytes.go#L319: 		if r != utf8.RuneError {

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

	encoding/json
		decode.go#L1199: 		if rr == utf8.RuneError && size == 1 {
		encode.go#L1003: 		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.uber.org/zap/zapcore
		json_encoder.go#L531: 			if r != utf8.RuneError || size != 1 {

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

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

	regexp
		onepass.go#L59: 	for iop(i) == syntax.InstRune && len(i.Rune) == 1 && syntax.Flags(i.Arg)&syntax.FoldCase == 0 && i.Rune[0] != utf8.RuneError {
		regexp.go#L283: 			if r == utf8.RuneError {

	regexp/syntax
		parse.go#L2084: 		if rune == utf8.RuneError && size == 1 {
		parse.go#L2094: 	if c == utf8.RuneError && size == 1 {
		prog.go#L160: 	for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {

	strconv
		quote.go#L46: 		if width == 1 && r == utf8.RuneError {
		quote.go#L61: 		r = utf8.RuneError
		quote.go#L225: 		if r == utf8.RuneError {
		quote.go#L442: 				valid = len("'")+n+len("'") == end && (r != utf8.RuneError || n != 1)

	strings
		strings.go#L129: 	case r == utf8.RuneError:
		strings.go#L131: 			if r == utf8.RuneError {
		strings.go#L154: 			r = utf8.RuneError
		strings.go#L187: 			rc = utf8.RuneError
		strings.go#L207: 			rc = utf8.RuneError
		strings.go#L490: 		if r == c && c != utf8.RuneError {
		strings.go#L495: 		if c == utf8.RuneError {
		strings.go#L708: 		if c != utf8.RuneError {

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