Mercurial > octave
diff liboctave/system/lo-sysdep.h @ 25532:7dad5fa7e88e
Add function for ASCII only file names (bug #49118).
* lo-sysdep.[cc/h]: Add function "get_ASCII_filename" that constructs an
ASCII-only file name corresponding to the input file name.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 30 Jun 2018 20:11:05 +0200 |
parents | 7fbc39a46be8 |
children | 3f2282954600 |
line wrap: on
line diff
--- a/liboctave/system/lo-sysdep.h Sat Jun 30 18:51:38 2018 +0200 +++ b/liboctave/system/lo-sysdep.h Sat Jun 30 20:11:05 2018 +0200 @@ -49,6 +49,8 @@ extern std::wstring u8_to_wstring (const std::string&); extern std::string u8_from_wstring (const std::wstring&); + + extern std::string get_ASCII_filename (const std::string& long_file_name); } }