X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B7AF59DC9E5 for ; Tue, 21 Mar 2006 09:35:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73061-03 for ; Tue, 21 Mar 2006 09:35:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 475AD9DC9B2 for ; Tue, 21 Mar 2006 09:35:31 -0400 (AST) Received: (qmail 9252 invoked from network); 21 Mar 2006 13:35:36 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 21 Mar 2006 13:35:36 -0000 In-Reply-To: <441FF62B.6090808@loop.be> References: <441FF62B.6090808@loop.be> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <79BFB1CF-FD61-49D3-A055-6672EF309D2E@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Charset issue when storing data Date: Tue, 21 Mar 2006 08:35:34 -0500 To: alevaux@loop.be X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.14 required=5 tests=[AWL=0.140] X-Spam-Score: 0.14 X-Spam-Level: X-Archive-Number: 200603/87 X-Sequence-Number: 14868 Aymeric, What is the encoding on the server ? Dave On 21-Mar-06, at 7:48 AM, Aymeric Levaux wrote: > Hello, > > I have a strange behavior using last version of JDBC driver > (version does not matter). When I store data in the DB using JDBC > (actually hibernate), some special char are corrupted. But if I > directly store data in the DB using pgadmin, it is ok and well > displayed in the webapp (it means that the JDBC driver retrieves it > correctly). Additionally if I deploy my webapp on my dev machine > and configure it to connect to the production database, there is > no more problem, data is well stored. > > I can't figure what's wrong on my production server as it deals > well with unicode char ... > > Do you have any idea ? > > Thanks > > - Aymeric > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: explain analyze is your friend >