Well, the Postgres message is correct. That sequence is not valid UTF8. Your choices seem to be to fix and clean the data so it is valid UTF8 or change the encoding to a less validated set.
---------- Forwarded message --------- From: Igor Korot<ikorot01@gmail.com> Date: Tue, Oct 6, 2026 at 12:23 AM Subject: Invalid byte sequence To: PostgreSQL ODBC list <pgsql-odbc@postgresql.org>
Hi, ALL,
When run my program and connect to the Postgres server with ODBC INTERMITTENTLY receive the error:
ERROR: invalid byte sequence for encoding "UTF8" 0xed 0xbf 0xa0 Does this sound familiar to anyone?
Thank you.
Trying to google I only got meaningful sugesston for when the last byte s 0