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 1C8D69DCC51 for ; Tue, 21 Mar 2006 08:48:46 -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 62832-05 for ; Tue, 21 Mar 2006 08:48:49 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 08BA89DC9E5 for ; Tue, 21 Mar 2006 08:48:44 -0400 (AST) Received: from finart.be (fanews.financialart.com [194.235.193.203]) by svr4.postgresql.org (Postfix) with ESMTP id 1169C5AF886 for ; Tue, 21 Mar 2006 12:48:47 +0000 (GMT) Received: from [192.168.1.37] by finart.be (Cipher TLSv1:RC4-MD5:128) (MDaemon.PRO.v8.1.2.R) with ESMTP id md50001487114.msg for ; Tue, 21 Mar 2006 13:48:23 +0100 Message-ID: <441FF62B.6090808@loop.be> Date: Tue, 21 Mar 2006 13:48:43 +0100 From: Aymeric Levaux User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Charset issue when storing data Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: Aymeric@loop.be X-Spam-Processed: fanews.financialart.com, Tue, 21 Mar 2006 13:48:23 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 83.182.5.71 X-Return-Path: alevaux@loop.be X-MDaemon-Deliver-To: pgsql-jdbc@postgresql.org Reply-To: alevaux@loop.be X-MDAV-Processed: fanews.financialart.com, Tue, 21 Mar 2006 13:48:24 +0100 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200603/86 X-Sequence-Number: 14867 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