comparison test/file-encoding/file-encoding.tst @ 32075:9583d971e603

mfile_encoding: Add to officially documented functions. * libinterp/corefcn/input.cc (Fmfile_encoding): Rename from "F__mfile_encoding__". Add documentation. Add alias with the former name. * doc/interpreter/func.txi: Add documentation for function to manual. * doc/interpreter/basics.txi, libgui/src/main-window.cc (main_window::update_default_encoding), scripts/pkg/private/install.m (extract_pkg), scripts/testfun/__run_test_suite__.m, test/file-encoding/file-encoding.tst: Adapt for changed function name.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 04 May 2023 18:06:08 +0200
parents 597f3ee61a48
children 2e484f9f1f18
comparison
equal deleted inserted replaced
32074:03fe0b635d2e 32075:9583d971e603
121 %! unwind_protect_cleanup 121 %! unwind_protect_cleanup
122 %! dir_encoding (canonicalize_file_name ("CP1251"), "delete"); 122 %! dir_encoding (canonicalize_file_name ("CP1251"), "delete");
123 %! end_unwind_protect 123 %! end_unwind_protect
124 124
125 ## oruntests with file in different folder (not in load path) with 125 ## oruntests with file in different folder (not in load path) with
126 ## "__mfile_encoding__" 126 ## "mfile_encoding"
127 %!test <*62780> 127 %!test <*62780>
128 %! old_mfile_encoding = __mfile_encoding__ ("windows-1251"); 128 %! old_mfile_encoding = mfile_encoding ("windows-1251");
129 %! unwind_protect 129 %! unwind_protect
130 %! ## use "evalc" to suppress output to the log 130 %! ## use "evalc" to suppress output to the log
131 %! evalc ('oruntests ("CP1251");'); 131 %! evalc ('oruntests ("CP1251");');
132 %! unwind_protect_cleanup 132 %! unwind_protect_cleanup
133 %! __mfile_encoding__ (old_mfile_encoding); 133 %! mfile_encoding (old_mfile_encoding);
134 %! end_unwind_protect 134 %! end_unwind_protect
135 135
136 ## oruntests with file in different folder with .oct-config file (in load path) 136 ## oruntests with file in different folder with .oct-config file (in load path)
137 %!test <*62780> 137 %!test <*62780>
138 %! path_orig = path (); 138 %! path_orig = path ();