Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B78EC1337BB4 for ; Fri, 6 May 2011 03:20:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 63438-06 for ; Fri, 6 May 2011 06:20:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og102.obsmtp.com (exprod7og102.obsmtp.com [64.18.2.157]) by mail.postgresql.org (Postfix) with ESMTP id A84D91337BA3 for ; Fri, 6 May 2011 03:20:18 -0300 (ADT) Received: from mail-ey0-f172.google.com ([209.85.215.172]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKTcOTISCc3dQD3hAWdzPhszNlByKgSyTC@postini.com; Thu, 05 May 2011 23:20:19 PDT Received: by eye13 with SMTP id 13so1023884eye.31 for ; Thu, 05 May 2011 23:20:16 -0700 (PDT) Received: by 10.213.26.155 with SMTP id e27mr687220ebc.136.1304662814087; Thu, 05 May 2011 23:20:14 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id e32sm1032504eee.5.2011.05.05.23.20.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 May 2011 23:20:12 -0700 (PDT) Message-ID: <4DC39319.7030206@enterprisedb.com> Date: Fri, 06 May 2011 09:20:09 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: Savita CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6002: French character show garbled References: <201105021633.p42GXpvK098428@wwwmaster.postgresql.org> In-Reply-To: <201105021633.p42GXpvK098428@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/34 X-Sequence-Number: 30173 On 02.05.2011 19:33, Savita wrote: > PostgreSQL version: 8.3.5 You should upgrade to the latest minor version of the 8.3 series. 8.3.5 is over two years old, and there has been lot of security and other important bug fixes since then. > We are facing a problem while inserting a Latin character (é) into > Postgresql. We are using postgresql-8.3-604.jdbc3.jar to connect to the PSQL > and trying to insert the following statement: "Vérification" through JDBC. > Once inserted we went back to PSQL and ran the select query and the result > is different: Vérification. Here the character é is being replaced by > é. > > Could any one please help us in resolving this problem as we are stuck with > this? Sounds like your client_encoding doesn't match the actual character set of the terminal. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com