Re: BUG #15772: Some messages in log files are in ANSI encodingwhile server encoding is UTF8

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #15772: Some messages in log files are in ANSI encodingwhile server encoding is UTF8
Дата
Msg-id 20190418160116.GA13165@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8  (Eugene Podshivalov <yaugenka@gmail.com>)
Ответы Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #15772: Some messages in log files are in ANSI encodingwhile server encoding is UTF8
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8