Re: Problem : Japanese Character Support

Поиск
Список
Период
Сортировка
От Antony Paul
Тема Re: Problem : Japanese Character Support
Дата
Msg-id 2989532e050117041972496@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem : Japanese Character Support  (Guillaume Cottenceau <gc@mnc.ch>)
Список 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@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
>

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: Problem : Japanese Character Support
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Transaltion update: tr