Skip site navigation (1) Skip section navigation (2)

about encoding

From: superman0920 <superman0920(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: about encoding
Date: 2012-03-29 03:22:36
Message-ID: 201203291122317598487@gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
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

Responses

pgsql-admin by date

Next:From: Alexander FortinDate: 2012-03-29 09:36:58
Subject: pg_database_size() and actual disk space usage
Previous:From: superman0920Date: 2012-03-29 03:00:36
Subject: about encoding

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group