From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Eugene Podshivalov <yaugenka@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
Date: Thu, 18 Apr 2019 12:01:16 -0400
Message-ID: <20190418160116.GA13165@alvherre.pgsql> (raw)
In-Reply-To: <CAEPw1JVtaxdh+BYkYL+G4aNzw3nbuK3sj6cW6xKk-aZAqWFkrw@mail.gmail.com>
On 2019-Apr-18, Eugene Podshivalov wrote:
> Bruce,
> Here is a screenshot of how looks like when I open the log file in
> notepad++ and switch encoding from UTF8 to ANSI.
> [image: image.png]
I suppose you have databases with the single-byte encoding amidst your
UTF8 ones. AFAIK the log file registers the log entries in the same
encoding that the database uses. Different databases can use different
encodings.
That's pretty broken, but it's how it is.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, yaugenka@gmail.com, bruce@momjian.us
Subject: Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
In-Reply-To: <20190418160116.GA13165@alvherre.pgsql>
References: <CAEPw1JVtaxdh+BYkYL+G4aNzw3nbuK3sj6cW6xKk-aZAqWFkrw@mail.gmail.com> <20190418160116.GA13165@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox