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

BUG #3786: report error:"ERROR: invalid byte sequence for encoding "UTF8""

From: "wengxc" <wengxc(at)zjheadway(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3786: report error:"ERROR: invalid byte sequence for encoding "UTF8""
Date: 2007-11-28 05:43:34
Message-ID: 200711280543.lAS5hY9j006661@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      3786
Logged by:          wengxc
Email address:      wengxc(at)zjheadway(dot)com
PostgreSQL version: 8.2.5
Operating system:   RHEL AS4
Description:        report error:"ERROR:  invalid byte sequence for encoding
"UTF8""
Details: 

my postgresql server encoding:UTF-8,client_encoding:gbk
when I execute some query sql,the database report the error frequently
:ERROR:  invalid byte sequence for encoding "UTF8":
0xe334especially when insert some text include "\" and
numbers,e.g.\888.
there is no error report when insert the text, but it occur when select ,how
can I resolve this problem If I don't change the server encoding and client
encoding?
thanks

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2007-11-28 10:53:38
Subject: Re: BUG #3782: table_to_xmlschema and xsd:simpleType
Previous:From: Stephen BespalkoDate: 2007-11-28 01:44:58
Subject: BUG #3784: pg_ctl fails to start server when called with -c parameters

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