Re: Authentication failed when Password contains Japaneese Charecters

Поиск
Список
Период
Сортировка
От Shivender Devarakonda
Тема Re: Authentication failed when Password contains Japaneese Charecters
Дата
Msg-id l2ga7ddbfcf1004201735g132fa19dhbef647a0625bfb6f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Authentication failed when Password contains Japaneese Charecters  (Shivender Devarakonda <shivenderd@gmail.com>)
Ответы Re: Authentication failed when Password contains Japaneese Charecters
Список 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 по дате отправления:

Предыдущее
От: Shivender Devarakonda
Дата:
Сообщение: Re: Authentication failed when Password contains Japaneese Charecters
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Authentication failed when Password contains Japaneese Charecters