Re: Problem : Japanese Character Support

From: Antony Paul <antonypaul24(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem : Japanese Character Support
Date: 2005-01-17 12:19:21
Message-ID: 2989532e050117041972496@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Read this page.

http://www.postgresql.org/docs/current/static/multibyte.html

I think at some versions it was possible to specify the character
encoding in the JDBC URL like this
jdbc:postgresql://192.168.0.1/antony?charSet=LATIN1

rgds
Antony Paul

On 17 Jan 2005 12:57:47 +0100, Guillaume Cottenceau <gc(at)mnc(dot)ch> wrote:
> "Rashmi" <rashmi 'at' fideltech.com> writes:
>
> > Hello,
> >
> > I have one problem. I am working on java and postgre sql. The data in
> > postgre sql is in japanese
> > When i used JDBC code in java like select statement then i get the
> > resultset but in that resultset instead of japanese data , empty
> > string is coming so i am not getting japanese data in java from
> > postgre sql.
> > Its not giving error but return empty string. But, when i used english
> > data, its working fine
> >
> > What could be the problem?
> > Is it that postgre's JDBC driver is not supporting japanese character.
>
> Using both postgres 7.2 and 7.4 I had no problem at all mixing
> any type of language (currently tested english, french and
> japanese on the same page). I have set the database in UTF-8 at
> creation time. I use UTF-8 back and forth in my webapp (which
> uses struts).
>
> --
> Guillaume Cottenceau
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-01-17 12:45:23 Re: Transaltion update: tr
Previous Message Guillaume Cottenceau 2005-01-17 11:57:47 Re: Problem : Japanese Character Support