"Magnus Hagander" <[EMAIL PROTECTED]> writes:
> Attached is a patch with adds a environment variable based version of
> locale_messages_assign(). It's not a pretty solution, but I think it's
> probably necessary.
Applied with minor cleanup.
I'm still concerned about the order-of-operations issue,
>> Test program attached, results below. It returns NULL for
>> whatever I try with LC_MESSAGES.
>
>It looks like LC_MESSAGES just plain does not work on Windows. I did
>some googling and found some pages suggesting this, for instance
>
>http://msdn.microsoft.com/library/default.asp?url=/library/e
"Magnus Hagander" <[EMAIL PROTECTED]> writes:
> Test program attached, results below. It returns NULL for
> whatever I try with LC_MESSAGES.
It looks like LC_MESSAGES just plain does not work on Windows. I did
some googling and found some pages suggesting this, for instance
http://msdn.microsoft
>Magnus, can you try a quick standalone test program to see if Windows'
>setlocale seems to act that way? The FAQ you pointed at implies that
>GNU gettext has some issues in this area, but it doesn't say outright
>that the setlocale function itself fails.
Yup, still doesn't seem to work. Assuming
"Magnus Hagander" <[EMAIL PROTECTED]> writes:
> Tried that too. Tried a whole lot of combinations of both unix style
> (sv_SE, sv, se, se_sv for example) and windows style (Swedish.Sweden,
> Sweden.Swedish, Swedish.Sweden.1252, etc etc). *it never works*. It
> *does work* if I set it as an environm
>> However, postgresql.conf does not load with the error message:
>> FATAL: invalid value for parameter "lc_messages": "EN"
>
>That's because "en" isn't a legal locale spec. "en_US", for instance,
>would be valid. (At least on most platforms ... maybe Windoze
>is out in
>left field?)
Tried tha
"Magnus Hagander" <[EMAIL PROTECTED]> writes:
> However, postgresql.conf does not load with the error message:
> FATAL: invalid value for parameter "lc_messages": "EN"
That's because "en" isn't a legal locale spec. "en_US", for instance,
would be valid. (At least on most platforms ... maybe Win