Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gD8c6-0005yo-Si for pgsql-general@arkaria.postgresql.org; Thu, 18 Oct 2018 13:45:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gD8c4-000401-Pp for pgsql-general@arkaria.postgresql.org; Thu, 18 Oct 2018 13:45:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gD8c4-0003zo-HP for pgsql-general@lists.postgresql.org; Thu, 18 Oct 2018 13:45:20 +0000 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gD8bu-0008Vq-KC for pgsql-general@lists.postgresql.org; Thu, 18 Oct 2018 13:45:20 +0000 Received: from firost (unknown [77.201.192.168]) (Authenticated sender: ioguix) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 7BB8DB00585; Thu, 18 Oct 2018 15:45:05 +0200 (CEST) Date: Thu, 18 Oct 2018 15:45:04 +0200 From: "Jehan-Guillaume (ioguix) de Rorthais" To: =?UTF-8?B?0J7Qu9C10LMg0KHQsNC80L7QudC70L7Qsg==?= Cc: "pgsql-general@lists.postgresql.org" Subject: Re: BUG: Incorrect working with POSIX locale if database in UTF-8 encoding Message-ID: <20181018154504.2e87ee54@firost> In-Reply-To: <13FE0F7C-5140-499C-8C2E-0BE64BC3A48B@ya.ru> References: <13FE0F7C-5140-499C-8C2E-0BE64BC3A48B@ya.ru> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 17 Oct 2018 12:29:52 +0300 =D0=9E=D0=BB=D0=B5=D0=B3 =D0=A1=D0=B0=D0=BC=D0=BE=D0=B9=D0=BB=D0=BE=D0=B2 <= splarv@ya.ru> wrote: > There is not problem with systemctl, if system locale setted by localectl= is > the same as database locale. But, as I said, there is problem with pacema= ker > pgsqlms module. And I think this is incorrect behavior. Database may writ= e in > log messages in database locale, if this messages arises inside connectio= n to > this database. But common messages, such as messages on start cluster or > errors on start cluster must written according to locale settings, and if > locale empty (POSIX) such messages must be in english. And if messages no= t in > english they must be visible as is, not as =E2=80=98???=E2=80=99. :) It w= orks inside > connection, why this does not work on start/stop? It seems like POSIX support ASCII and some additional characters. So maybe = the character encoding used in the database is just incompatible with POSIX, ie. POSIX does not support wide chars. As you can see, characters from ASCII ta= ble are printed correctly.