pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Rashmi <rashmi@fideltech.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem : Japanese Character Support
Date: 17 Jan 2005 12:57:47 +0100
Message-ID: <87wtucuv2c.fsf@meuh.mnc.ch> (raw)
In-Reply-To: <web-30123472@easycgi.com>
References: <web-30123472@easycgi.com>

"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



view thread (5+ messages)  latest in thread

Message-ID: <87wtucuv2c.fsf@meuh.mnc.ch>
Permalink:  ../87wtucuv2c.fsf@meuh.mnc.ch/
Also on:    postgresql.org/message-id/87wtucuv2c.fsf@meuh.mnc.ch

 · 

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: gc@mnc.ch, rashmi@fideltech.com
  Subject: Re: Problem : Japanese Character Support
  In-Reply-To: <87wtucuv2c.fsf@meuh.mnc.ch>
  References: <web-30123472@easycgi.com> <87wtucuv2c.fsf@meuh.mnc.ch>

* 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