Re: [HACKERS] [COMMITTERS] pgsql: Tell gettext which codeset to use by calling

2009-04-08 Thread Heikki Linnakangas
Teodor Sigaev wrote: May be call of pg_bind_textdomain_codeset(textdomain(NULL)); should be wrapped by ENABLE_NLS? Yep, fixed. Thanks. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to

Re: [HACKERS] [COMMITTERS] pgsql: Tell gettext which codeset to use by calling

2009-04-08 Thread Teodor Sigaev
Log Message: --- Tell gettext which codeset to use by calling bind_textdomain_codeset(). We already did that on Windows, but it's needed on other platforms too when LC_CTYPE=C. With other locales, we enforce (or trust) that the codeset of the locale matches the server encoding so we don't