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 1rCjjY-00H3bW-BV for pgsql-interfaces@arkaria.postgresql.org; Mon, 11 Dec 2023 17:06:20 +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 1rCjjX-00FZGW-1Z for pgsql-interfaces@arkaria.postgresql.org; Mon, 11 Dec 2023 17:06:19 +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 1rCjjW-00FZGO-Q7 for pgsql-interfaces@lists.postgresql.org; Mon, 11 Dec 2023 17:06:18 +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 1rCjjT-009uB4-Vl for pgsql-interfaces@postgresql.org; Mon, 11 Dec 2023 17:06:17 +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 3BBH6DmO2287033; Mon, 11 Dec 2023 12:06:13 -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> <2169859.1702306316@sss.pgh.pa.us> <2249117.1702311240@sss.pgh.pa.us> Comments: In-reply-to Jean-Yves Garneau message dated "Mon, 11 Dec 2023 17:02:32 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2287031.1702314373.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 11 Dec 2023 12:06:13 -0500 Message-ID: <2287032.1702314373@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jean-Yves Garneau writes: > I replaced the lc_messages to 'UTF8' but received the error response in = English. > I replaced the lc_messages to 'French_Canada.UTF8' but received the erro= r response in 1252. Sorry, I don't know much about how Windows locales work. You may have to mess with something like the code page environment in which the postmaster is started. regards, tom lane