summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2015-07-07 14:20:26 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2015-07-07 14:20:26 (GMT)
commit2ee3ddac8a3aee5f203da73244a9927310fd4f11 (patch)
treefa711fe17f565025be0fcb983e89b0a8e443b6fe
parent4ce2c3e6e7ca0a108a6b0a502f9349ce319e2c55 (diff)
parent8037d279157b1f2f02dfe974d3d42d146ccb2194 (diff)
downloadtcl-2ee3ddac8a3aee5f203da73244a9927310fd4f11.zip
tcl-2ee3ddac8a3aee5f203da73244a9927310fd4f11.tar.gz
tcl-2ee3ddac8a3aee5f203da73244a9927310fd4f11.tar.bz2
Documentation: source ignores BOM for unicode files
-rw-r--r--doc/source.n2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source.n b/doc/source.n
index 9f488c5..67d4b6b 100644
--- a/doc/source.n
+++ b/doc/source.n
@@ -43,6 +43,8 @@ or
which will be safely substituted by the Tcl interpreter into
.QW ^Z .
.PP
+A leading BOM (Byte order mark) contained in the file is ignored for unicode encodings (utf-8, unicode).
+.PP
The \fB\-encoding\fR option is used to specify the encoding of
the data stored in \fIfileName\fR. When the \fB\-encoding\fR option
is omitted, the system encoding is assumed.