Re: Authentication failed when Password contains Japaneese Charecters

From: Shivender Devarakonda <shivenderd(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Authentication failed when Password contains Japaneese Charecters
Date: 2010-04-21 00:29:19
Message-ID: s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Shivender Devarakonda <shivenderd(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Shivender Devarakonda 2010-04-21 00:35:25 Re: Authentication failed when Password contains Japaneese Charecters
Previous Message Tom Lane 2010-04-21 00:23:12 Re: Authentication failed when Password contains Japaneese Charecters