Received: from ns.sharemation.com (d83b57e4.dsl.flashcom.net [216.59.87.228]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0TI74q17653 for ; Mon, 29 Jan 2001 13:07:04 -0500 (EST) (envelope-from barry@xythos.com) Received: from xythos.com (IDENT:blind@frog.xythos.com [192.168.254.110]) by ns.sharemation.com (8.9.3/8.8.7) with ESMTP id JAA17936; Mon, 29 Jan 2001 09:55:04 -0800 Message-ID: <3A75B4D6.6B05E96D@xythos.com> Date: Mon, 29 Jan 2001 10:22:14 -0800 From: Barry Lind X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Jean-Francois Burdet CC: pgsql-jdbc@postgresql.org Subject: Re: [INTERFACES] jdbc: v7.1 bug (letter accent) References: <3A754FD2.A0921E05@adm.unige.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archive-Number: 200101/85 X-Sequence-Number: 90 What character set encoding is your database using? (select getdatabaseencoding();) My guess is that your database was created with the wrong character set encoding. thanks, --Barry Jean-Francois Burdet wrote: > > Hi, > > I'm doing some tests to migrate an PG7.0.2 database to an PG7.1beta3. > This database contains letter with accent from french (like é in > HTML or the word café). > > When using the postgresql.jar from pg7.0.2, rs.getString("name") gives > corrects results (like 'café') , but > when I move to the postgresql.jar compiled from PG7.1beta3 bundle letter > with accent are converted to '?' (like 'caf?') ... > > Any one aware of this problem ? (and it's solution ?) > > Thanks, > > JF Burdet > > My config is : > - Mandrake Linux 7.1 > - JDK 1.3 > - Tomcat 3.2.1