Re: Charset issue when storing data

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: alevaux(at)loop(dot)be
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Charset issue when storing data
Date: 2006-03-21 13:35:34
Message-ID: 79BFB1CF-FD61-49D3-A055-6672EF309D2E@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Aymeric,

What is the encoding on the server ?

Dave
On 21-Mar-06, at 7:48 AM, Aymeric Levaux wrote:

> Hello,
>
> I have a strange behavior using last version of JDBC driver
> (version does not matter). When I store data in the DB using JDBC
> (actually hibernate), some special char are corrupted. But if I
> directly store data in the DB using pgadmin, it is ok and well
> displayed in the webapp (it means that the JDBC driver retrieves it
> correctly). Additionally if I deploy my webapp on my dev machine
> and configure it to connect to the production database, there is
> no more problem, data is well stored.
>
> I can't figure what's wrong on my production server as it deals
> well with unicode char ...
>
> Do you have any idea ?
>
> Thanks
>
> - Aymeric
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Fetter 2006-03-21 18:56:24 Re: pg_service.conf ?
Previous Message Aymeric Levaux 2006-03-21 12:48:43 Charset issue when storing data