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 1rBm3j-00CK59-KP for pgsql-interfaces@arkaria.postgresql.org; Sat, 09 Dec 2023 01:23:11 +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 1rBm3i-00Dhz0-7V for pgsql-interfaces@arkaria.postgresql.org; Sat, 09 Dec 2023 01:23:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBm3h-00Dhys-Ol for pgsql-interfaces@lists.postgresql.org; Sat, 09 Dec 2023 01:23:09 +0000 Received: from mail-yqbcan01on2071.outbound.protection.outlook.com ([40.107.116.71] helo=CAN01-YQB-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBm3e-00AuOy-24 for pgsql-interfaces@postgresql.org; Sat, 09 Dec 2023 01:23:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MN64nMlXPVVUUWKkRCnwE/OLTf8Lf0Cgr2TrJVN2xtySCqEpm/n+snFPw112qIsnPp5VGSI5T6R8JGb4KrGaqzBTZwieQAh2dyCCyhFSNCFjq47Nr7bL+ITUFzGiABYvR4AvYXKtkdlOY3414f4hPhBzLlkY9BsPpl1kPcIDUOVP96Ji1MHq2QNPrE9QSNocjhh0oZ/naZbCtwX7Nz+cqovrbA7AxN0lTWlaMf6wLUvc/l4G7peRa3TU2L0lo8HsLTx+X1/NuVkHlGv6GMwdLkxk/UtqLk03vmRQ7TBzlBDZ+J83PUaqwB43oSJXitX8Q46X9obuoGa5yyBclZFdog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=O7foEC/EbZbwyntwDmswouteSbt5G8dtnX2p5rUvrW4=; b=aTLpgX0RtzPZI4k60jzqBrLBBSUyBfixDHMkGSiJR5D3LWkBZs7YhA0UIYmnhpWtnBrhoBcO+XadmH1pNajbLV94nfEmxSwVkWN7vL9lxxEhMk0mIN21SSV6iaXNx1vHGK/fuRLqFqyFqG+RTqfdxHf0bRJ42rM3j2OMxxFqrH5EdcVYnhQNzde+lysJUfv18bOxqYR2yoRegGoNpmXAhan9lccx4oSyKnjwO3ZTsG8A+BrvX42rKbG/XNK5ead5aXP9HolV/4vj6G415xEbXlhZXPfW9JyA3fnzdSOPDDkK40D+SPLkyNN0wiL0P6T0EbHgiXgHv/cIoTuL1cguIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=invest-quebec.com; dmarc=pass action=none header.from=invest-quebec.com; dkim=pass header.d=invest-quebec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=invest-quebec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O7foEC/EbZbwyntwDmswouteSbt5G8dtnX2p5rUvrW4=; b=EN8oBEjSrkFWXA/20lfS89o2zNCuFeuNBIa+QXWkIWk53MZbDU0OyVUpi40FWFr30z7S+MU9y6le/O72JJ0mhe1Kvc0jHcI0WO92fr6jvWZLVQdRx2Igu8SVKnNZ705CeyAh3raL8+IYrB1ujfcV+n0FHLSTY+5GDHpCEjZInPo= Received: from YQBPR0101MB4538.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:15::18) by YT1PR01MB9241.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:ce::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Sat, 9 Dec 2023 01:23:01 +0000 Received: from YQBPR0101MB4538.CANPRD01.PROD.OUTLOOK.COM ([fe80::b79c:52ee:2286:6d83]) by YQBPR0101MB4538.CANPRD01.PROD.OUTLOOK.COM ([fe80::b79c:52ee:2286:6d83%4]) with mapi id 15.20.7068.028; Sat, 9 Dec 2023 01:23:01 +0000 From: Jean-Yves Garneau To: "pgsql-interfaces@postgresql.org" Subject: client_encoding is WIN1252 on ErrorMessage at the StartupMessage Thread-Topic: client_encoding is WIN1252 on ErrorMessage at the StartupMessage Thread-Index: AdoqPiVnOUdHMVwERQuseFwrUgLmqg== Date: Sat, 9 Dec 2023 01:23:01 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=invest-quebec.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YQBPR0101MB4538:EE_|YT1PR01MB9241:EE_ x-ms-office365-filtering-correlation-id: 830e3595-f6d3-476b-5a45-08dbf855629c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: s2IFQorqux7zENTV4510RiUa49iE29YwcqUkmXXW3znkW1OCsgHwqQoNhvYHxubtuMG/HEf1vJLfVEEmp7QglkTglmYlYwgSsAsc45DWzomefq7WPPWB5nOorvGmoSz89NeeFoYPKGGi2u7fVrpAHsJgUaAwpMrYc6DlXQ3qgprBAfkV3LcknkfKwlSJaPLGd67s9OkTotn3A6KFVRLIEYVUZZ4LzW5VPoOcbul0eS4eMmH6+R2Z6pHc9XF5n85sMfz7J48mRZpsCJJOGu1btwckrF5+BjAJm+7ziQdrX2r92avOzKsdXI5KLhGPYRIfOqhKlMtROfp1Elsg5LPW/jLSBZRszvZmZADXrxCAi3PbmdUfGGk94F5efI92+YML4l9ax6kOK7+E6tUzQMDp0UzmyieLvVOFi0a4O4e9ftKquJ0CaY5lYFs82DOTq1WQm5m4lQx/DjUJy1qu+wdvjDRBDUv+dLptUi+s0G4p1Ov3jNGP+6WYIwIO0EYizjdjSmriPXd/VixWw/RZ/FizAEdNBQiKBFIcAtKdchf5MVGVH+6G6MKluZaoVVFRszNLfJVWtqIbFJt73CxGtB0EgTR/tuJaLq9BVmcsPlcuxDIm5Aa+WhZ1OTnYOc7w898R x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQBPR0101MB4538.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(136003)(366004)(396003)(39860400002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(9686003)(55016003)(6506007)(71200400001)(7696005)(26005)(83380400001)(316002)(786003)(64756008)(66446008)(66946007)(76116006)(66556008)(66476007)(478600001)(38100700002)(6916009)(122000001)(41300700001)(38070700009)(33656002)(4744005)(52536014)(2906002)(86362001)(8676002)(5660300002)(8936002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Df6mv2Kwj0bu7HX/pHtNJpSlKtSl3oEOg0Ufza3SMxt0YLB03rEGy1ionk7N?= =?us-ascii?Q?3fHDe+z9g0e9n7b1p2NlzDQ7kugM47eADJE+kBiQqy8Qo/m9zNmXOmJNgIhp?= =?us-ascii?Q?IE6Z8EsuOhxYnNv1Q9l5XSMP08IbaV34J1boD5X4Q0amwrGZb7Rp3aZctbdm?= =?us-ascii?Q?7BP34LDgFtrAEsfu3ONrotQn+F9njxPHW1jErWZD+Q3XtihGM+CqKmVIzG/1?= =?us-ascii?Q?mxSwIWwOJnGRufFwfXRW9CLgob/4xb1RMUoAdtxEM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a7neeTjeSr4FRKvKwvPyRti97F6+Tbx8HhenLTjK5dET5?= =?us-ascii?Q?hCx56B8j4rUKgVUKP9W8iKn0gD0dqG7qrvEr9TH8j4P3Dh+xA0W/W7wLxKz0?= =?us-ascii?Q?DgNE+weXp770hEJf3mTLpXiMiyk3jm55+JcFpZw5YU8qvxnYNu0fc1rhchZj?= =?us-ascii?Q?mnJccnEx+go76sGHmt1V9n0SwGyUshP3LSDqTNEi5DuKyNi3AApNq3XQ4AA5?= =?us-ascii?Q?+0MRxrfYv9WlgUkgWfwGU/lGhP1FGWa7VSoQORyEC5dih30FyWei5mfrm0wb?= =?us-ascii?Q?ruUxLhbywXkhXzkfGlc9cuHTe+cPb+k4Qvi76oaY4RlN5GO5Ut4j2PKvk57g?= =?us-ascii?Q?+kuMi6f+37paIPcATcmh6zm1eGKgBu+bjZe0oCznTsU3ZMywRRB5iB1NycMT?= =?us-ascii?Q?dKIcwaYrcAugB6h7lpMS/3TaTTB7QXUt35WjefTp0wJ5Pww8bjSMtbBqzofz?= =?us-ascii?Q?idJEjLV0Y3nGqkaIxzNijjY=3D?= Content-Type: multipart/alternative; boundary="_000_YQBPR0101MB453883F750587BB0EF9B6738FF89AYQBPR0101MB4538_" MIME-Version: 1.0 X-OriginatorOrg: invest-quebec.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQBPR0101MB4538.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 830e3595-f6d3-476b-5a45-08dbf855629c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2023 01:23:01.2969 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bb35297f-d33e-4877-bf86-05c24bfd97ef X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eYQjDm8L3iaDC/wx6X6X+zXK6BAJVxqVDffb722uEl+nnlZU6/8vTKp165kqjJbOpilefMOQODdhs60oWik7LooFnkHICj/Y+k4KgdQZQswaYoC5ZVWU3Vro9VT/hATd X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB9241 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_YQBPR0101MB453883F750587BB0EF9B6738FF89AYQBPR0101MB4538_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm developing the wire protocol on programmable logic controller (PLC) to = communicate with the backend server. The PostgreSQL server run on Windows 10 French Canadian. The client_encoding on the server and database encoding is UTF8. The collation and character type are French_Canada.1252. The PLC is UTF8. After TCP/IP connection, the PLC send the "StartupMessage" but receive an "= ErrorResponse" because no access right. The error message is in WIN1252 not UTF8! If grant connect access to user and get data from database all is UTF8! Is it a bug or bad setup? Regards, --_000_YQBPR0101MB453883F750587BB0EF9B6738FF89AYQBPR0101MB4538_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I’m developing the wire p= rotocol on programmable logic controller (PLC) to communicate with the back= end server.

The PostgreSQL server run on Wi= ndows 10 French Canadian.

The client_encoding on the serv= er and database encoding is UTF8.

The collation and character typ= e are French_Canada.1252.

The PLC is UTF8.

After TCP/IP connection, the PL= C send the “StartupMessage” but receive an “ErrorResponse= ” because no access right.

The error message is in WIN1252= not UTF8!

If grant connect access to user= and get data from database all is UTF8!

Is it a bug or bad setup?<= /o:p>

 

Regards,

--_000_YQBPR0101MB453883F750587BB0EF9B6738FF89AYQBPR0101MB4538_--