X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1A1213A2175 for ; Mon, 17 Jan 2005 11:58:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88113-07 for ; Mon, 17 Jan 2005 11:57:52 +0000 (GMT) Received: from mnc.ch (unknown [212.23.250.43]) by svr1.postgresql.org (Postfix) with ESMTP id 107883A1AFE for ; Mon, 17 Jan 2005 11:57:52 +0000 (GMT) Received: (qmail 29270 invoked from network); 17 Jan 2005 12:57:50 +0100 Received: from 62-2-77-204.business.cablecom.ch (HELO meuh.mnc.ch) (62.2.77.204) by www.mnc.ch.com with SMTP; 17 Jan 2005 12:57:50 +0100 Received: by meuh.mnc.ch (Postfix, from userid 1000) id 7CE9A23F132; Mon, 17 Jan 2005 12:57:47 +0100 (CET) To: "Rashmi" Cc: pgsql-jdbc@postgresql.org Subject: Re: Problem : Japanese Character Support References: From: Guillaume Cottenceau Date: 17 Jan 2005 12:57:47 +0100 In-Reply-To: Message-ID: <87wtucuv2c.fsf@meuh.mnc.ch> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.055 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/163 X-Sequence-Number: 12043 "Rashmi" writes: > Hello, > > I have one problem. I am working on java and postgre sql. The data in > postgre sql is in japanese > When i used JDBC code in java like select statement then i get the > resultset but in that resultset instead of japanese data , empty > string is coming so i am not getting japanese data in java from > postgre sql. > Its not giving error but return empty string. But, when i used english > data, its working fine > > What could be the problem? > Is it that postgre's JDBC driver is not supporting japanese character. Using both postgres 7.2 and 7.4 I had no problem at all mixing any type of language (currently tested english, french and japanese on the same page). I have set the database in UTF-8 at creation time. I use UTF-8 back and forth in my webapp (which uses struts). -- Guillaume Cottenceau