superman0920 <superman0920(at)gmail(dot)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