Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
28533:05a48a241da6 | 28534:548598760b66 |
---|---|
69 | 69 |
70 extern std::wstring u8_to_wstring (const std::string&); | 70 extern std::wstring u8_to_wstring (const std::string&); |
71 | 71 |
72 extern std::string u8_from_wstring (const std::wstring&); | 72 extern std::string u8_from_wstring (const std::wstring&); |
73 | 73 |
74 extern std::string get_ASCII_filename (const std::string& long_file_name); | 74 extern std::string get_ASCII_filename (const std::string& long_file_name, |
75 const bool allow_locale = false); | |
75 } | 76 } |
76 } | 77 } |
77 | 78 |
78 #endif | 79 #endif |