summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-23 17:31:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-23 17:31:37 (GMT)
commit2ffd05e70358635a831fc16b449e0021c4c00c14 (patch)
treebe5dbe77c1cb04848611554faa1d5fb816501553 /doc
parentde5eea858ba1d86730359e69d833f9bbba2bcf99 (diff)
downloadtcl-2ffd05e70358635a831fc16b449e0021c4c00c14.zip
tcl-2ffd05e70358635a831fc16b449e0021c4c00c14.tar.gz
tcl-2ffd05e70358635a831fc16b449e0021c4c00c14.tar.bz2
documentation update
Diffstat (limited to 'doc')
-rw-r--r--doc/Encoding.32
-rw-r--r--doc/encoding.n8
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3
index 1f0dbdf..356f582 100644
--- a/doc/Encoding.3
+++ b/doc/Encoding.3
@@ -590,7 +590,7 @@ with at most one of \fBTCL_ENCODING_PROFILE_TCL8\fR,
\fBTCL_ENCODING_PROFILE_STRICT\fR or \fBTCL_ENCODING_PROFILE_REPLACE\fR.
These correspond to the \fBtcl8\fR, \fBstrict\fR and \fBreplace\fR profiles
respectively. If none are specified, a version-dependent default profile is used.
-For Tcl 8.7, the default profile is \fBtcl8\fR.
+For Tcl 9.0, the default profile is \fBstrict\fR.
.PP
For details about profiles, see the \fBPROFILES\fR section in
the documentation of the \fBencoding\fR command.
diff --git a/doc/encoding.n b/doc/encoding.n
index 8ede974..4c37b79 100644
--- a/doc/encoding.n
+++ b/doc/encoding.n
@@ -120,7 +120,7 @@ Continue further processing of the source data using a fallback strategy such
as replacing or discarding the offending bytes in a profile-defined manner.
.VE "TCL8.7 TIP656"
.PP
-The following profiles are currently implemented with \fBtcl8\fR being
+The following profiles are currently implemented with \fBstrict\fR being
the default if the \fB-profile\fR is not specified.
.VS "TCL8.7 TIP656"
.TP
@@ -146,7 +146,7 @@ the question mark \fB?\fR.
\fBstrict\fR
.
The \fBstrict\fR profile always stops processing when an conversion error is
-encountered. The error is signalled via an exception or the \fB-failindex\fR
+encountered. The error is signaled via an exception or the \fB-failindex\fR
option mechanism. The \fBstrict\fR profile implements a Unicode standard
conformant behavior.
.TP
@@ -206,7 +206,7 @@ unexpected byte sequence starting at index 1: '\ex80'
Example 3: Get partial data and the error location:
.PP
.CS
-% codepoints [encoding convertfrom -profile strict -failindex idx ascii AB\ex80]
+% codepoints [encoding convertfrom -failindex idx ascii AB\ex80]
U+000041 U+000042
% set idx
2
@@ -219,7 +219,7 @@ Example 4: Encode a character that is not representable in ISO8859-1:
A?
% encoding convertto -profile strict iso8859-1 A\eu0141
unexpected character at index 1: 'U+000141'
-% encoding convertto -profile strict -failindex idx iso8859-1 A\eu0141
+% encoding convertto -failindex idx iso8859-1 A\eu0141
A
% set idx
1