Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group