On Sun, 20 May 2018, Sven Schreiber wrote:
Am 19.05.2018 um 01:22 schrieb Allin Cottrell:
> There are at least three ways to open a data file or script file that's
> suitably associated with gretl:
Let me add another piece of evidence. This is on Windows 10 set to
German, and I've created a folder with a cyrillic name (привет). Don't
know the encoding that is used then.
> 1) In the native file manager, double-click on the file: this should
> send a directive to the operating system to launch gretl with the given
> filename as a command-line argument.
This gives an error window from gretl, with the cyrillic letters in the
path replaced by '??????'. (Although transliteration to 'privet'
actually wouldn't be difficult here.)
> 2) Start gretl, then locate and select the file via the native file
> manager, and drag the file onto the main gretl window.
Works! (apparently in contrast to what Periklis reports for his case?)
> 3) Start gretl then use its menus (e.g. /File/Open data/User file...) to
> launch the GTK File dialog, select the desired file, then click the
> "Open" button (or double-click).
also works! (also different from Periklis' case?)
> So here's what I've found: methods 2 and 3 work fine to open a file
> within a Greek-named directory, but method 1 fails as you showed,
same here.
Interesting! Thanks for testing. If we can figure out why methods 2
and 3 are not working for Periklis (something to do with how Windows
is configured?) that would a step forward -- and then maybe this
problem is not so hard after all.
As for method 1 not working for any of us, I think I understand that
and I have an experimental fix in git. I need to test it on Windows
before I put it into the snapshots.
Allin