X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8BE61535D2 for ; Tue, 26 Apr 2005 02:11:13 -0300 (ADT) 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 71325-10 for ; Tue, 26 Apr 2005 05:11:08 +0000 (GMT) Received: from mail.iiita.ac.in (iws29.iiita.ac.in [210.212.48.29]) by svr1.postgresql.org (Postfix) with ESMTP id B18BC539BE for ; Tue, 26 Apr 2005 02:11:02 -0300 (ADT) Received: (qmail 10271 invoked by uid 7798); 26 Apr 2005 05:07:47 -0000 Received: from 127.0.0.1 by ccr29 (envelope-from , uid 7791) with qmail-scanner-1.25 (spamassassin: 2.64. Clear:RC:0(127.0.0.1):SA:0(1.7/5.0):. Processed in 0.621829 secs); 26 Apr 2005 05:07:47 -0000 Received: from localhost (HELO mail.iiita.ac.in) (snasa?02@iiita.ac.in@127.0.0.1) by localhost with SMTP; 26 Apr 2005 05:07:46 -0000 Received: from 172.17.9.55 (SquirrelMail authenticated user snasa_02@iiita.ac.in) by mail.iiita.ac.in with HTTP; Tue, 26 Apr 2005 10:37:46 +0530 (IST) Message-ID: <39800.172.17.9.55.1114492066.squirrel@mail.iiita.ac.in> Date: Tue, 26 Apr 2005 10:37:46 +0530 (IST) Subject: Query regarding locale settings From: "saurabh nasa" To: pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.1-2.qvcs.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.516 tagged_above=0 required=5 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200504/407 X-Sequence-Number: 17420 I created a new directory and specified locale settings with initdb --locale=hi_IN.utf and created a new database with encoding set to unicode. But, while I can insert unicode strings correctly with JDBC, it gives the wrong answer while matching strings.I have not been able to find any reason for this. I would be really obliged with any help in this regard, Saurabh Nasa