Re: about encoding - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: about encoding
Date
Msg-id 4F742D48020000250004692A@gw.wicourts.gov
Whole thread Raw
In response to about encoding  (superman0920 <superman0920@gmail.com>)
Responses custom conflict resolution information request  (amador alvarez <aalvarez@d2.com>)
List pgsql-admin
superman0920 <superman0920@gmail.com> wrote:

> i want to insert a report to postgresql,the report contain
> something Chinese characters and the postgresql is utf-8.
>
> the response from db is this:
> ERROR:  invalid byte sequence for encoding "UTF8": 0xb1

That's not a valid byte sequence for a character under the UTF8
character encoding scheme.  You said that PostgreSQL is using utf-8,
but what encoding is used for the report?  Is your client connecting
using the character encoding scheme used by the report?

-Kevin

pgsql-admin by date:

Previous
From: Bernhard Schrader
Date:
Subject: Re: pg_database_size() and actual disk space usage
Next
From: amador alvarez
Date:
Subject: custom conflict resolution information request