summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharald.oehlmann@elmicron.de <oehhar>2015-07-07 14:20:26 (GMT)
committerharald.oehlmann@elmicron.de <oehhar>2015-07-07 14:20:26 (GMT)
commit6b052950740803199d1fa17d0f826c76b601cc10 (patch)
treefa711fe17f565025be0fcb983e89b0a8e443b6fe
parente11099edf0dd2febc7de5ac8803d34d6e94944fa (diff)
parentc7a2c261c12d107ab801c29032580d990c2b074b (diff)
downloadtcl-6b052950740803199d1fa17d0f826c76b601cc10.zip
tcl-6b052950740803199d1fa17d0f826c76b601cc10.tar.gz
tcl-6b052950740803199d1fa17d0f826c76b601cc10.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.