SET client_encoding = 'UTF8'

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: SET client_encoding = 'UTF8'
Date: 2008-05-18 03:54:17
Message-ID: 482FA869.90902@ikoffice.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello dear developers,

The command

SET client_encoding = 'UTF8'

throws an exception in the driver, because the driver expects UNICODE. I
understand exceptions for other encodings, but this is IMHO a must have.
Out database scripts should contain this line at the beginning, to be
able to dump them manually into the server, and which is actually more
correct than a line that sets the encoding to 'UNICODE'.

Thanks in advance and with best regards,
Daniel Migowski

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2008-05-18 05:07:42 Re: SET client_encoding = 'UTF8'
Previous Message Daniel Migowski 2008-05-15 12:09:17 Re: Testing JDBC Prepared Statements