summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-30 07:11:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-30 07:11:18 (GMT)
commit1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7 (patch)
tree35749cc38881de41be58b2c55c3e82de9cdc342c /generic/tclEncoding.c
parentc8617b374b29d14c8be0900f1623ca3120468b62 (diff)
downloadtcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.zip
tcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.tar.gz
tcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.tar.bz2
Thanks to TIP #587, convert many escapes in the testcases into the actual (UTF-8) character.
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index 3f03bf4..6fd4503 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -1246,7 +1246,7 @@ Tcl_ExternalToUtf(
if (!noTerminate) {
/*
* If there are any null characters in the middle of the buffer,
- * they will converted to the UTF-8 null character (\xC080). To get
+ * they will converted to the UTF-8 null character (\xC0\x80). To get
* the actual \0 at the end of the destination buffer, we need to
* append it manually. First make room for it...
*/