Re: logfile character encoding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Redoute <redoute(at)tortenboxer(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: logfile character encoding
Date: 2014-08-17 15:17:19
Message-ID: 28876.1408288639@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:
> On 08/17/2014 03:30 AM, Redoute wrote:
>> Am 16.08.2014 21:40, schrieb Tom Lane:
>>> You need to make sure the postmaster's
>>> environment selects a UTF8 locale.

>> So is this possible at all in Windows?

> I am afraid Windows locale setting is a mystery to me.

Me too, but I repeat the point that what you have to twiddle is the
postmaster's environment; in particular you have to set LC_CTYPE
(or maybe better LC_ALL), which cannot be set from the config file.
I doubt it will work to have LC_MESSAGES trying to select a different
encoding than LC_CTYPE specifies.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Redoute 2014-08-17 22:09:11 Re: logfile character encoding
Previous Message Adrian Klaver 2014-08-17 14:49:58 Re: logfile character encoding