Mercurial > octave
diff liboctave/system/lo-sysdep.h @ 28534:548598760b66
get_ASCII_filename: On Windows, optionally try to convert to the locale charset.
* lo-sysdep.h, lo-sysdep.cc (get_ASCII_filename): Optionally, try to convert
the file path to the locale charset.
* uniconv-wrappers.h, uniconv-wrappers.cc (octave_u8_conv_to_encoding_strict):
Add new function.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 04 Jul 2020 12:14:21 +0200 |
parents | 159b6a1eb408 |
children | f873857f5f86 |
line wrap: on
line diff
--- a/liboctave/system/lo-sysdep.h Sat Jul 04 11:14:43 2020 +0900 +++ b/liboctave/system/lo-sysdep.h Sat Jul 04 12:14:21 2020 +0200 @@ -71,7 +71,8 @@ extern std::string u8_from_wstring (const std::wstring&); - extern std::string get_ASCII_filename (const std::string& long_file_name); + extern std::string get_ASCII_filename (const std::string& long_file_name, + const bool allow_locale = false); } }