pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: superman0920 <superman0920@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: about encoding
Date: Thu, 29 Mar 2012 11:00:36 +0800
Message-ID: <201203291100302033066@gmail.com> (raw)

hello
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 

how can i fix it ? 

thx




superman0920

view thread (4+ messages)  latest in thread

Message-ID: <201203291100302033066@gmail.com>
Permalink:  ../201203291100302033066@gmail.com/
Also on:    postgresql.org/message-id/201203291100302033066@gmail.com

 · 

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-admin@postgresql.org
  Cc: superman0920@gmail.com
  Subject: Re: about encoding
  In-Reply-To: <201203291100302033066@gmail.com>

* 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