Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rChda-00GwLr-W2 for pgsql-interfaces@arkaria.postgresql.org; Mon, 11 Dec 2023 14:52:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rChdZ-00Epo8-Jy for pgsql-interfaces@arkaria.postgresql.org; Mon, 11 Dec 2023 14:52:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rChdZ-00Epnx-Cn for pgsql-interfaces@lists.postgresql.org; Mon, 11 Dec 2023 14:52:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rChdW-009tCk-U3 for pgsql-interfaces@postgresql.org; Mon, 11 Dec 2023 14:52:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3BBEpu5k2169860; Mon, 11 Dec 2023 09:51:56 -0500 From: Tom Lane To: Jean-Yves Garneau cc: "pgsql-interfaces@postgresql.org" Subject: Re: client_encoding is WIN1252 on ErrorMessage at the StartupMessage In-reply-to: References: <1571714.1702085443@sss.pgh.pa.us> Comments: In-reply-to Jean-Yves Garneau message dated "Mon, 11 Dec 2023 12:07:46 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2169858.1702306316.1@sss.pgh.pa.us> Date: Mon, 11 Dec 2023 09:51:56 -0500 Message-ID: <2169859.1702306316@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jean-Yves Garneau writes: > Dear Tom, > For me UTF8 is the choice and I used : > * client_encoding = UTF8 > * server_encoding = UTF8 > Is there another encoding variable to setup? What's lc_messages set to (in postgresql.conf)? regards, tom lane