From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "Magnus Hagander" <mha(at)sollentuna(dot)net>, <pgsql-hackers-win32(at)postgresql(dot)org>, "pgsql-patches" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] Win32 & NLS |
Date: | 2004-10-17 15:47:19 |
Message-ID: | 200410171747.19662.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Magnus Hagander wrote:
> Which appears to suggest that we should change the locale using
> putenv() etc, and not using setlocale() at all... Because setlocale()
> does not support LC_MESSAGES, probably.
This cannot possibly work. putenv() doesn't change any locale. The
environment variables only serve as a default when you call setlocale()
without an actual locale value. But to enable any locale, you always
need to call setlocale() somehow, somewhere.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2004-10-17 16:16:22 | Re: [PATCHES] Win32 & NLS |
Previous Message | Magnus Hagander | 2004-10-17 15:31:32 | Win32 & NLS |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2004-10-17 16:16:22 | Re: [PATCHES] Win32 & NLS |
Previous Message | Magnus Hagander | 2004-10-17 15:31:32 | Win32 & NLS |