agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Claus Guttesen <kometen@gmail.com>
To: Karthikeyan Sundaram <skarthi98@hotmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] ERROR: invalid byte sequence for encoding "UTF8": 0x92
Date: Tue, 20 Mar 2007 21:06:25 +0100
Message-ID: <b41c75520703201306w2a1e08a5n41c86395f778d25b@mail.gmail.com> (raw)
In-Reply-To: <BAY131-F9EB3EF541699B62FB5952B0750@phx.gbl>
References: <BAY131-F9EB3EF541699B62FB5952B0750@phx.gbl>

>    I am using postgres 8.2.3.  I have recently converted my database from
> sql-ascii to UTF8.  I have a portal which calls a perl program to insert the
> data into the database.
>
>     While inserting, I am getting an error message
>
> DBD::Pg::st execute failed: ERROR:  invalid byte sequence for encoding
> "UTF8": 0x92
> [for Statement "INSERT INTO longdescs (bug_id, who, bug_when, thetext,
> isprivate)

Try to modify client_encoding in postgresql.conf to utf8 and restart your db.

regards
Claus



view thread (7+ messages)  latest in thread

Message-ID: <b41c75520703201306w2a1e08a5n41c86395f778d25b@mail.gmail.com>
Permalink:  ../b41c75520703201306w2a1e08a5n41c86395f778d25b@mail.gmail.com/
Also on:    postgresql.org/message-id/b41c75520703201306w2a1e08a5n41c86395f778d25b@mail.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-sql@postgresql.org
  Cc: kometen@gmail.com, skarthi98@hotmail.com, pgsql-admin@postgresql.org
  Subject: Re: [SQL] ERROR: invalid byte sequence for encoding "UTF8": 0x92
  In-Reply-To: <b41c75520703201306w2a1e08a5n41c86395f778d25b@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox