SET client_encoding = 'UTF8' - Mailing list pgsql-jdbc

From Daniel Migowski
Subject SET client_encoding = 'UTF8'
Date
Msg-id 482FA869.90902@ikoffice.de
Whole thread Raw
Responses Re: SET client_encoding = 'UTF8'
Re: SET client_encoding = 'UTF8'
List 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

pgsql-jdbc by date:

Previous
From: Daniel Migowski
Date:
Subject: Re: Testing JDBC Prepared Statements
Next
From: Tom Lane
Date:
Subject: Re: SET client_encoding = 'UTF8'