summaryrefslogtreecommitdiffstats
path: root/doc/string.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-16 20:34:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-16 20:34:33 (GMT)
commit3c9c7e062138b5f21935974d667eec0ae10c346c (patch)
tree107bc458ed879e8e17c88c3b4269ebec17c82a73 /doc/string.n
parente83fde690fb80b952bc835f68b00256f42f0b002 (diff)
downloadtcl-3c9c7e062138b5f21935974d667eec0ae10c346c.zip
tcl-3c9c7e062138b5f21935974d667eec0ae10c346c.tar.gz
tcl-3c9c7e062138b5f21935974d667eec0ae10c346c.tar.bz2
Remove wtf-8/wtf-16/tcl-8 encodings
Diffstat (limited to 'doc/string.n')
-rw-r--r--doc/string.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/string.n b/doc/string.n
index f1a0592..f3d7616 100644
--- a/doc/string.n
+++ b/doc/string.n
@@ -415,11 +415,11 @@ etc.)
.PP
\fICompatibility note:\fR This subcommand is deprecated and will
be removed in Tcl 9.0. It is better to use the \fBencoding convertto\fR
-command to convert a string to a known encoding (e.g. "wtf-8" or "tcl-8")
+command to convert a string to a known encoding (e.g. "utf-8" or "cesu-8")
and then apply \fBstring length\fR to that.
.PP
.CS
-\fBstring length\fR [encoding convertto wtf-8 $theString]
+\fBstring length\fR [encoding convertto utf-8 $theString]
.CE
.RE
.TP