Re: PQexecPrepared() question
Igor Korot <ikorot01@gmail.com>
From: Igor Korot <ikorot01@gmail.com>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-12-21T11:56:39Z
Lists: pgsql-general
Attachments
- postgresql draft script.sql (application/sql)
Hi, David, Attached is a script I ran on a server (from psql). The offending line is: CREATE TABLE abcß(id integer primary key, name text); Script ran successfully. Using the ODBC driver everything works. I didn't change anything in the driver setup. Same setup - Windows client connecting to Linux server. Any other info needed - please do tell. Thank you. On Sat, Dec 20, 2025 at 11:47 PM David G. Johnston <david.g.johnston@gmail.com> wrote: > > > > On Thursday, December 18, 2025, Igor Korot <ikorot01@gmail.com> wrote: >> >> >> Using my setup above and assumng my Win locale is en_US.UTF8 > > > This seems like an incorrect assumption. The server is expecting UTF8 yet you are passing it data that is not valid UTF8 bytes. I infer thus your Windows encoding is thus not UTF8. > > Suggest you make an even smaller, simpler, and self-contained reproducer and include how you are executing the code. You’ve not provided sufficient detail for someone else to debug your problem. > > David J. >