Re: invalid byte sequence for encoding "UNICODE"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: AlannY <m(at)alanny(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid byte sequence for encoding "UNICODE"
Date: 2008-07-24 19:29:46
Message-ID: 10254.1216927786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

AlannY <m(at)alanny(dot)ru> writes:
> Many times, I'm confronting with that strange problem: invalid byte
> sequence for encoding "UNICODE". So, I guess, Postgresql can't allow me
> to use some symbols which is not a part of UNICODE. But what is that
> symbals?

Doesn't it tell you? AFAICS every PG version that uses that error
message phrasing gives you the exact byte sequence it's complaining
about.

It would also be worth asking what PG version you are using anyway.
If it's not a pretty recent update then updating might help --- I
think there were some bugs in the encoding verification stuff awhile
back.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-07-24 20:22:17 Re: UPDATE runs slow in a transaction
Previous Message AlannY 2008-07-24 18:06:17 invalid byte sequence for encoding "UNICODE"