On Fri, 27 Oct 2017, Sven Schreiber wrote:
Am 25.10.2017 um 19:39 schrieb Allin Cottrell:
> On Wed, 25 Oct 2017, ESTEVEZ NUĂ‘EZ JUAN CARLOS wrote:
>> But when I change the languague to Automatic or English, then appears
>> 'Unknown'.
>
> Hmm, interesting, thanks. So it seems to be an i18n issue.
Strange, I wanted to check (here on Windows 7) the $lang setting (which gives
me de_DE as expected), and I've noticed that the issue is gone, with language
preference set to Automatic.
Just before that check I restarted gretl because for some other reason it was
set to English.
@Frederik: Does a gretl restart change anything for you?
However, setting it back to "English" (and restarting gretl again,
obviously), the problem re-appears.
This is with an Oct 23rd snapshot, so can't be due to any changes Allin may
or may not have applied in the meantime.
I have not made any relevant changes lately. I don't fully
understand this problem yet but I can see it's a GTK-on-Windows
issue, which arises when the "system codepage" and the "C-library
codepage" are not the same. Under certain conditions GTK can't
figure out what locale it should be using to display dates/times and
so it just prints "Unknown".
I think I can see a way of working around the problem by modifying
the GTK source file gtkfilechooserdefault.c -- when GTK stalls on
the locale we could just print the information in generic ISO format
-- but I can't be sure of that till I'm clearer on exactly how/when
the issue arises.
Allin