From: Tom Lane <tgl@sss.pgh.pa.us>
To: Souvik Chatterjee <chatterjeesouvik.besu@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17615: Getting error while inserting records in the table: invalid byte sequence for encoding "UTF8": 0xae
Date: Thu, 15 Sep 2022 23:09:10 -0400
Message-ID: <3551124.1663297750@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHE6XHZZnQgQaVopmRyPc_LFJcZh41Pd+TGGcsDqUAJwE_y1tQ@mail.gmail.com>
References: <17615-6d24c25ba0e8a9e6@postgresql.org>
<3421821.1663270405@sss.pgh.pa.us>
<CAHE6XHZZnQgQaVopmRyPc_LFJcZh41Pd+TGGcsDqUAJwE_y1tQ@mail.gmail.com>
Souvik Chatterjee <chatterjeesouvik.besu@gmail.com> writes:
> We have set the client encoding to UTF-8, but still error is coming.
That is exactly what you *shouldn't* do, because the data you are sending
is evidently not in UTF8. It's probably some LATINn variant.
> This is getting saved properly in Oracle databases, then what's the issue
> postgres?
[ shrug... ] It's likely a matter of what software stack you have on
the client side, not which server you're using exactly.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, chatterjeesouvik.besu@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17615: Getting error while inserting records in the table: invalid byte sequence for encoding "UTF8": 0xae
In-Reply-To: <3551124.1663297750@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox