Re: Problems with charsets, investigated...

From: Kris Jurka <books(at)ejurka(dot)com>
To: Alexandre Aufrere <alexandre(dot)aufrere(at)inet6(dot)fr>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problems with charsets, investigated...
Date: 2004-08-06 16:05:54
Message-ID: Pine.BSO.4.56.0408061059400.11823@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 6 Aug 2004, Alexandre Aufrere wrote:

> Java correctly sets its file.encoding property to the charset specified
> in the LANG environment variable. However, it appears that whatever i
> set this variable to, the JDBC driver seems to use UTF-8.
>

I'm not sure what problem or issue you think this is addressing, but it is
not something we want to do. The driver communicates with the server
using UTF-8, so you should not be adjusting this and it is entirely
transparent to the user. What you do after retrieving data is your
business and you are welcome to save it or display it in any encoding you
desire, but the driver wants to communicate with the server using UTF-8.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-08-06 16:09:33 Re: No suitable driver error trying to connect to postgresql
Previous Message Alexandre Aufrere 2004-08-06 14:43:35 Problems with charsets, investigated...