diff libinterp/corefcn/file-io.cc @ 28713:28d2511f2af2 stable

maint: grammarcheck documentation ahead of 6.1 release. * basics.txi, external.txi, file-io.cc, audiodevinfo.cc, ode15i.m, ode15s.m, ode23.m, ode23s.m, ode45.m, pkg.m, get_inverse_dependencies.m, legend.m, gui_mainfcn.m, hgtransform.m, __debug_octave__.m: Grammarcheck documentation ahead of 6.1 release.
author Rik <rik@octave.org>
date Thu, 10 Sep 2020 14:28:33 -0700
parents f84ee2305174
children 0fcbb0faf7de 0a5b15007766
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc	Thu Sep 10 17:20:31 2020 -0400
+++ b/libinterp/corefcn/file-io.cc	Thu Sep 10 14:28:33 2020 -0700
@@ -500,8 +500,8 @@
 character string that specifies whether the file is to be opened for
 reading, writing, or both.  The @var{encoding} is a character string with a
 valid encoding identifier.  This encoding is used when strings are read from
-or written to the file.  By default, the same encoding is used like for reading
-.m files.
+or written to the file.  By default, the same encoding specified for reading
+@file{.m} files is used for interpreting user files.
 
 The second form of the @code{fopen} function returns a vector of file ids
 corresponding to all the currently open files, excluding the