Re: Authentication failed when Password contains Japaneese Charecters - Mailing list pgsql-jdbc

From Shivender Devarakonda
Subject Re: Authentication failed when Password contains Japaneese Charecters
Date
Msg-id l2ga7ddbfcf1004201735g132fa19dhbef647a0625bfb6f@mail.gmail.com
Whole thread Raw
In response to Re: Authentication failed when Password contains Japaneese Charecters  (Shivender Devarakonda <shivenderd@gmail.com>)
Responses Re: Authentication failed when Password contains Japaneese Charecters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
I did not give any explicit encoding while creating the DB. I am running postgres on Windows XP system.
 
Thanks for looking in to this.
 
Regards,
Shivender

On Tue, Apr 20, 2010 at 5:29 PM, Shivender Devarakonda <shivenderd@gmail.com> wrote:
I explicitly changed the property file.encoding to UTF-8 before I run my application. I am sure application is sending the password in UTF-8 byte array[]. Are you talking about server session?
 
Thanks,
Shivender

On Tue, Apr 20, 2010 at 5:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Shivender Devarakonda <shivenderd@gmail.com> writes:
> I am using Postgres SQL version 8.3 server and I have a client that uses
> Postgres SQL JDBC driver. I have a user "admin" with the password having
> japaneese charecters 形式.

Just a guess, but I suspect it's an encoding issue.  I expect JDBC would
send the password in utf8 encoding.  Maybe you defined the password in
a session that was using a different encoding?

                       regards, tom lane


pgsql-jdbc by date:

Previous
From: Shivender Devarakonda
Date:
Subject: Re: Authentication failed when Password contains Japaneese Charecters
Next
From: Tom Lane
Date:
Subject: Re: Authentication failed when Password contains Japaneese Charecters