summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-02-02 07:17:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-02-02 07:17:06 (GMT)
commitc529405c659f132d217336a626895a13a0ecaef0 (patch)
tree1b7b8cdbc9853e3bc56d101604db84ece162dae7
parent536651d9544fc01bef7faf8c1de9dff1d483ee65 (diff)
parentde0a637d7c24faa768c266bacda17bf6ac48171d (diff)
downloadtcl-c529405c659f132d217336a626895a13a0ecaef0.zip
tcl-c529405c659f132d217336a626895a13a0ecaef0.tar.gz
tcl-c529405c659f132d217336a626895a13a0ecaef0.tar.bz2
Merge 8.7
-rw-r--r--doc/encoding.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/encoding.n b/doc/encoding.n
index d211f02..214ce19 100644
--- a/doc/encoding.n
+++ b/doc/encoding.n
@@ -152,7 +152,7 @@ Example 4: detect the error location while transforming to ISO8859-1
(ISO-Latin 1):
.PP
.CS
-% set s [\fBencoding convertto\fR -failindex i utf-8 "A\eu0141"]
+% set s [\fBencoding convertto\fR -failindex i iso8859-1 "A\eu0141"]
A
% set i
1
@@ -161,7 +161,7 @@ A
Example 5: replace a not representable character by the replacement character:
.PP
.CS
-% set s [\fBencoding convertto\fR -nocomplain utf-8 "A\eu0141"]
+% set s [\fBencoding convertto\fR -nocomplain iso8859-1 "A\eu0141"]
A?
.CE
.VE "TCL8.7 TIP346, TIP607, TIP601"