const unicode/utf8.RuneError

55 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#L301: var errorRune = []byte(string(utf8.RuneError))

	bytes
		bytes.go#L142: 	case r == utf8.RuneError:
		bytes.go#L145: 			if r1 == utf8.RuneError {
		bytes.go#L174: 				if r == utf8.RuneError {
		bytes.go#L188: 			r = utf8.RuneError
		bytes.go#L213: 		if r != utf8.RuneError {
		bytes.go#L261: 				if r == utf8.RuneError {
		bytes.go#L275: 			cr = utf8.RuneError
		bytes.go#L297: 		if r != utf8.RuneError {

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

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

	fmt
		format.go#L471: 		r = utf8.RuneError
		format.go#L482: 		r = utf8.RuneError

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

	path/filepath
		match.go#L225: 	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#L277: 			if r == utf8.RuneError {

	regexp/syntax
		parse.go#L2103: 		if rune == utf8.RuneError && size == 1 {
		parse.go#L2113: 	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#L222: 		if r == utf8.RuneError {
		quote.go#L439: 				valid = len("'")+n+len("'") == end && (r != utf8.RuneError || n != 1)

	strings
		strings.go#L130: 	case r == utf8.RuneError:
		strings.go#L132: 			if r == utf8.RuneError {
		strings.go#L155: 			r = utf8.RuneError
		strings.go#L188: 			rc = utf8.RuneError
		strings.go#L208: 			rc = utf8.RuneError
		strings.go#L484: 		if r == c && c != utf8.RuneError {
		strings.go#L489: 		if c == utf8.RuneError {
		strings.go#L740: 		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)