superman0920 <superman0...@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
-- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin