summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-12-13 07:42:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-12-13 07:42:17 (GMT)
commit2e1db6850f0a6da09fd1457c2f2cf851f4c5f315 (patch)
tree5051b8e0daf8a2181991d67b620427939e50a506
parent53b2a5fdf90ad91ab93a90e6b18b4496e0e19ede (diff)
downloadtcl-2e1db6850f0a6da09fd1457c2f2cf851f4c5f315.zip
tcl-2e1db6850f0a6da09fd1457c2f2cf851f4c5f315.tar.gz
tcl-2e1db6850f0a6da09fd1457c2f2cf851f4c5f315.tar.bz2
Clarify what "-strict" means for the utf-8 encoder, making it clear that this is not the same as "strict" in python
-rw-r--r--doc/encoding.n11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/encoding.n b/doc/encoding.n
index bbe197d..78580f2 100644
--- a/doc/encoding.n
+++ b/doc/encoding.n
@@ -54,9 +54,9 @@ The option \fB-nocomplain\fR has no effect and is available for compatibility wi
TCL 9. In TCL 9, the encoding command fails with an error on any encoding issue.
This switch restores the TCL8.7 behaviour.
.PP
-The \fB-strict\fR option followes more strict rules in conversion. Currently, only
-the sequence \fB\\xC0\\x80\fR in \fButf-8\fR encoding is disallowed. Additional rules
-may follow.
+The \fB-strict\fR option follows more strict rules in conversion. For the \fButf-8\fR
+encoder, it disallows the the sequence \fB\\xC0\\x80\fR and noncharacters (which -
+otherwise - are just passed through).
.VE "TCL8.7 TIP346, TIP607, TIP601"
.RE
.TP
@@ -87,8 +87,9 @@ The option \fB-nocomplain\fR has no effect and is available for compatibility wi
TCL 9. In TCL 9, the encoding command fails with an error on any encoding issue.
This switch restores the TCL8.7 behaviour.
.PP
-The \fB-strict\fR option followes more strict rules in conversion. Currently, it has
-no effect but may be used in future to add additional encoding checks.
+The \fB-strict\fR option follows more strict rules in conversion. For the \fButf-8\fR
+encoder, it disallows the the sequence \fB\\xC0\\x80\fR and noncharacters (which -
+otherwise - are just passed through).
.VE "TCL8.7 TIP346, TIP607, TIP601"
.RE
.TP