diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-25 10:57:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-25 10:57:35 (GMT) |
commit | b8b008ad8448ffa35ffb8816dd870ddfd7b7f77b (patch) | |
tree | fc73087dc9fe138608760916673aff629c1e233c /doc | |
parent | a9ba2a08b562e5c0f60b9671df3b4a0c20a23879 (diff) | |
parent | abc23e672315cb78ec468f0d96c592d0ea346ac9 (diff) | |
download | tcl-b8b008ad8448ffa35ffb8816dd870ddfd7b7f77b.zip tcl-b8b008ad8448ffa35ffb8816dd870ddfd7b7f77b.tar.gz tcl-b8b008ad8448ffa35ffb8816dd870ddfd7b7f77b.tar.bz2 |
TIP #587 for Tcl 8.7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/FileSystem.3 | 4 | ||||
-rw-r--r-- | doc/source.n | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3 index 6703638..4e77114 100644 --- a/doc/FileSystem.3 +++ b/doc/FileSystem.3 @@ -414,7 +414,7 @@ caller (with a reference count of 0). the encoding identified by \fIencodingName\fR and evaluates its contents as a Tcl script. It returns the same information as \fBTcl_EvalObjEx\fR. -If \fIencodingName\fR is NULL, the system encoding is used for +If \fIencodingName\fR is NULL, the utf-8 encoding is used for reading the file contents. If the file could not be read then a Tcl error is returned to describe why the file could not be read. @@ -430,7 +430,7 @@ or which will be safely substituted by the Tcl interpreter into .QW ^Z . \fBTcl_FSEvalFile\fR is a simpler version of -\fBTcl_FSEvalFileEx\fR that always uses the system encoding +\fBTcl_FSEvalFileEx\fR that always uses the utf-8 encoding when reading the file. .PP \fBTcl_FSLoadFile\fR dynamically loads a binary code file into memory and diff --git a/doc/source.n b/doc/source.n index 353b8fb..8757cb8 100644 --- a/doc/source.n +++ b/doc/source.n @@ -47,7 +47,7 @@ A leading BOM (Byte order mark) contained in the file is ignored for unicode enc .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. +is omitted, the utf-8 encoding is assumed. .SH EXAMPLE .PP Run the script in the file \fBfoo.tcl\fR and then the script in the |