Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9C1429FB90A for ; Tue, 20 Mar 2007 17:06:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 29933-03 for ; Tue, 20 Mar 2007 17:06:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by postgresql.org (Postfix) with ESMTP id 8533B9FB28C for ; Tue, 20 Mar 2007 17:06:27 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 76so595wra for ; Tue, 20 Mar 2007 13:06:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JZS1lI+Qc5rcHcwIHsAaQ4Ji0mVmic+a39bFbtZU7ICiCexzx8BssxGWwCx4e8p0NeZba+ouQZDZyHDq5VXjqV8vXMb1gXw21z6Fvty6sTI/TGNHCfhbuUg9FlS0vsYgvpIUDb7sY6MIXzZG7lseIx7KULHqmPJAZ+08RePWDQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oqvIvZJeOVCc/6WyJyo2a7rCBprvDr+rFJ8qnRhCf4Y5qfpTdVPQIfKqUKHlqCSOGAM0mFj06HZKzJmz9d3qtNsl9k2V/3xpRFxdDIr63OFe90xu5JoeniU3WOb2B1IIx35/uIi3qbO26c88Pda3JS6tPrssBsihPnznSK+9A6c= Received: by 10.90.32.14 with SMTP id f14mr1405434agf.1174421186123; Tue, 20 Mar 2007 13:06:26 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Tue, 20 Mar 2007 13:06:25 -0700 (PDT) Message-ID: Date: Tue, 20 Mar 2007 21:06:25 +0100 From: "Claus Guttesen" To: "Karthikeyan Sundaram" Subject: Re: [SQL] ERROR: invalid byte sequence for encoding "UTF8": 0x92 Cc: pgsql-admin@postgresql.org, pgsql-sql@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/136 X-Sequence-Number: 24960 > 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