From 9ddeb2105f6c6b87a15bc020684aa2b8f97678d4 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 12 Apr 2009 16:13:34 -0700 Subject: [PATCH] change replacement rune to its correct value, fffd R=ken OCL=27342 CL=27342 --- src/runtime/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/string.c b/src/runtime/string.c index 37f6ff0a1b..4d89e96001 100644 --- a/src/runtime/string.c +++ b/src/runtime/string.c @@ -193,7 +193,7 @@ static int32 chartorune(int32 *rune, byte *str); enum { Runeself = 0x80, - Runeerror = 0xfff8, // fffd in plan9 + Runeerror = 0xfffd, }; // func stringiter(string, int) (retk int); -- 2.48.1