summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-20 16:25:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-20 16:25:03 (GMT)
commit34a90fef7a0a249dffc99dd44cf2f9bcd0e2b45b (patch)
treed9b31767d0bf3740cfe204fe0de2b11d9aac40cf
parent1fc31a71b82cae8f8431f4bdd1e6f8aa925d65ea (diff)
downloadtcl-34a90fef7a0a249dffc99dd44cf2f9bcd0e2b45b.zip
tcl-34a90fef7a0a249dffc99dd44cf2f9bcd0e2b45b.tar.gz
tcl-34a90fef7a0a249dffc99dd44cf2f9bcd0e2b45b.tar.bz2
Wrong escape in encoding.n
-rw-r--r--doc/encoding.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/encoding.n b/doc/encoding.n
index 2277f9d..c1dbf27 100644
--- a/doc/encoding.n
+++ b/doc/encoding.n
@@ -117,7 +117,7 @@ which is the Hiragana letter HA.
The following example detects the error location in an incomplete UTF-8 sequence:
.PP
.CS
-% set s [\fBencoding convertfrom\fR -failindex i utf-8 "A\xc3"]
+% set s [\fBencoding convertfrom\fR -failindex i utf-8 "A\exC3"]
A
% set i
1
@@ -127,7 +127,7 @@ The following example detects the error location while transforming to ISO8859-1
(ISO-Latin 1):
.PP
.CS
-% set s [\fBencoding convertto\fR -failindex i utf-8 "A\u0141"]
+% set s [\fBencoding convertto\fR -failindex i utf-8 "A\eu0141"]
A
% set i
1