pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 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 15:33:25 -0400
Message-ID: <3421821.1663270405@sss.pgh.pa.us> (raw)
In-Reply-To: <17615-6d24c25ba0e8a9e6@postgresql.org>
References: <17615-6d24c25ba0e8a9e6@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Getting the below error while inserting records into the table:
> invalid byte sequence for encoding "UTF8": 0xae

That is, in fact, an invalidly-encoded character per UTF8 rules,
so I see no reason to think there is any Postgres bug here.
What's more likely is that you haven't set client_encoding to
match the encoding of the data you're trying to insert.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <3421821.1663270405@sss.pgh.pa.us>
Permalink:  ../3421821.1663270405@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3421821.1663270405@sss.pgh.pa.us

 · 

reply

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: <3421821.1663270405@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