summaryrefslogtreecommitdiffstats
path: root/doc/source.n
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)
commite31d1c7be0321e55f6e4982415df1aba08e0febf (patch)
treefa711fe17f565025be0fcb983e89b0a8e443b6fe /doc/source.n
parent28fa5866e5d7d7cfd06c0b3dbab330672c05b992 (diff)
parent91de92f0234579b1caf796f6f8b3ebce2099a8da (diff)
downloadtcl-e31d1c7be0321e55f6e4982415df1aba08e0febf.zip
tcl-e31d1c7be0321e55f6e4982415df1aba08e0febf.tar.gz
tcl-e31d1c7be0321e55f6e4982415df1aba08e0febf.tar.bz2
Documentation: source ignores BOM for unicode files
Diffstat (limited to 'doc/source.n')
-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.