From: Antony Paul <antonypaul24@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Problem : Japanese Character Support
Date: Mon, 17 Jan 2005 17:49:21 +0530
Message-ID: <2989532e050117041972496@mail.gmail.com> (raw)
In-Reply-To: <87wtucuv2c.fsf@meuh.mnc.ch>
References: <web-30123472@easycgi.com>
<87wtucuv2c.fsf@meuh.mnc.ch>
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@mnc.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
>
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: antonypaul24@gmail.com
Subject: Re: Problem : Japanese Character Support
In-Reply-To: <2989532e050117041972496@mail.gmail.com>
References: <web-30123472@easycgi.com> <87wtucuv2c.fsf@meuh.mnc.ch> <2989532e050117041972496@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