Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id CAC36632FED for ; Tue, 20 Apr 2010 23:24:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 00222-02 for ; Wed, 21 Apr 2010 02:23:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gw0-f46.google.com (mail-gw0-f46.google.com [74.125.83.46]) by mail.postgresql.org (Postfix) with ESMTP id 52846633667 for ; Tue, 20 Apr 2010 23:23:55 -0300 (ADT) Received: by mail-gw0-f46.google.com with SMTP id 19so1165450gwj.19 for ; Tue, 20 Apr 2010 19:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=3nesbEfvJrtD4Rzf9RtLg3+36uty0teZBU6o7azOuJ4=; b=UZE6wEdl5A8ECeVtAZ8LSQH6GPbP+Saqx7IcSelyPtfjZekGtnp23Dbr4nuuUbO44o uKbkNt1F1dOVpEn/T+JGOFp2FwbD5PsOn2fRLCUIK4dB40CnXppD6HrlKB75nj69jGek SVp6P9OnTmNO3RD788WmE4JCWdVzTizNxCJYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ewrmRf6vjUP/AMY+xHxJLMBZg274ZZqkHcXgJlBJyjUoBh7ljIzKWsURMUiNIVrGsw gCHfJq/ddBl48GWBkZw9V4q7PqY18PmTkx1RqvvgGES1qLeYNJfFM/vv7rTVDTh2HwyC ncdHD6Whk8sP9lBX/u3Z2xvv3G/mQFUpIFaIY= MIME-Version: 1.0 Received: by 10.231.199.203 with HTTP; Tue, 20 Apr 2010 19:23:52 -0700 (PDT) In-Reply-To: References: <8844.1271809392@sss.pgh.pa.us> <10484.1271812681@sss.pgh.pa.us> Date: Tue, 20 Apr 2010 19:23:52 -0700 Received: by 10.91.92.5 with SMTP id u5mr4126596agl.74.1271816632921; Tue, 20 Apr 2010 19:23:52 -0700 (PDT) Message-ID: Subject: Re: Authentication failed when Password contains Japaneese Charecters From: Shivender Devarakonda To: Tom Lane Cc: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=001485f91b24a05d2f0484b5e260 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201004/47 X-Sequence-Number: 20458 --001485f91b24a05d2f0484b5e260 Content-Type: text/plain; charset=ISO-8859-1 When I did the psql -l I see the following DBs in my local environment: C:\PostgreSQL\bin>psql -l List of databases Name | Owner | Encoding -----------+----------+----------- cmdb | admin | UTF8 postgres | postgres | SQL_ASCII template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII I am using cmdb which is UTF8. I think it is consistent with my application? any thoughts what might be wrong. Thanks, Shivender On Tue, Apr 20, 2010 at 7:07 PM, Shivender Devarakonda wrote: > Thanks. Where should I look for this property? > > Thanks, > Shivender > > > > > On Tue, Apr 20, 2010 at 6:18 PM, Tom Lane wrote: > >> Shivender Devarakonda writes: >> > I did not give any explicit encoding while creating the DB. I am running >> > postgres on Windows XP system. >> >> Well, you should look at what server_encoding is set to, then. >> If it's not UTF-8 then that's likely the source of the problem. >> >> regards, tom lane >> > > --001485f91b24a05d2f0484b5e260 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

When I did the psql -l I see the following DBs in my local environ= ment:
=A0
C:\PostgreSQL\bin>psql -l
=A0=A0=A0=A0=A0=A0=A0 List of database= s
=A0=A0 Name=A0=A0=A0 |=A0 Owner=A0=A0 | Encoding
-----------+------= ----+-----------
=A0cmdb=A0=A0=A0=A0 | admin=A0=A0=A0 | UTF8
=A0postg= res=A0 | postgres | SQL_ASCII
=A0template0 | postgres | SQL_ASCII
=A0template1 | postgres | SQL_ASCII
=A0
I am using cmdb which is UTF8.
=A0
I think it is consistent with my application? any thoughts what might = be wrong.
=A0
Thanks,
Shivender
On Tue, Apr 20, 2010 at 7:07 PM, Shivender Devar= akonda <shiven= derd@gmail.com> wrote:
Thanks. Where should I look for this property?
=A0
Thanks,
Shivender
=A0


=A0
On Tue, Apr 20, 2010 at 6:18 PM, Tom Lane <tgl@= sss.pgh.pa.us> wrote:
Shivender Devarakonda <shivenderd@gmail.com> writes:
> I did not give any explicit encoding while creating the DB. I am = running
> postgres on Windows XP system.

Well, you shoul= d look at what server_encoding is set to, then.
If it's not UTF-8 th= en that's likely the source of the problem.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0regards, tom lane


--001485f91b24a05d2f0484b5e260--