pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shivender Devarakonda <shivenderd@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Authentication failed when Password contains Japaneese Charecters
Date: Tue, 20 Apr 2010 17:29:19 -0700
Message-ID: <s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com> (raw)
In-Reply-To: <8844.1271809392@sss.pgh.pa.us>
References: <q2ua7ddbfcf1004201711w90e5f323off7afcf12a0fbad4@mail.gmail.com>
	<8844.1271809392@sss.pgh.pa.us>

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
>

view thread (15+ messages)  latest in thread

Message-ID: <s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com>
Permalink:  ../s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com/
Also on:    postgresql.org/message-id/s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: shivenderd@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Authentication failed when Password contains Japaneese Charecters
  In-Reply-To: <s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com>
  References: <q2ua7ddbfcf1004201711w90e5f323off7afcf12a0fbad4@mail.gmail.com> <8844.1271809392@sss.pgh.pa.us> <s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox