Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VVS1a-0007JK-4o for pgsql-jdbc@arkaria.postgresql.org; Sun, 13 Oct 2013 20:12:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VVS1Z-0005ea-Js for pgsql-jdbc@arkaria.postgresql.org; Sun, 13 Oct 2013 20:12:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VVS1Y-0005cL-0z for pgsql-jdbc@postgresql.org; Sun, 13 Oct 2013 20:12:24 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VVS1S-00040X-9b for pgsql-jdbc@postgresql.org; Sun, 13 Oct 2013 20:12:22 +0000 Received: from [192.168.157.132] (unknown [65.19.243.151]) by outbound.vnet-inc.com (Postfix) with ESMTP id 793407BD4 for ; Sun, 13 Oct 2013 14:11:48 -0600 (MDT) Message-ID: <525AFD3E.2030506@ttc-cmc.net> Date: Sun, 13 Oct 2013 14:06:22 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: PostgreSQL JDBC Subject: Re: Java String saving as unicode in database References: <1381565943021-5774370.post@n5.nabble.com> <52597C74.6070104@ttc-cmc.net> <1381622110422-5774410.post@n5.nabble.com> <525ACE58.704@ttc-cmc.net> In-Reply-To: <525ACE58.704@ttc-cmc.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org I have cleaned up the Test_UTC.java class and renamed it to PostgreSQL_JDBC_Test. Corrected some stuff. This class can be used as a generic test bed for PostgreSQL JDBC connections. Just add a new method for your test case. I will leave this one in this location and update if needed. **REPLACED -->> Test_UTC.java WITH PostgreSQL_JDBC_Test.java http://dandymadeproductions.com/temp/PostgreSQL_JDBC_Test.java danap. dmp wrote: > As John said. Download and use the complete code from the > example given before. Fill in in main() database, username, & > password. > > Compile: > javac Test_UTC.java > > Run: > java Test_UTC > > Look at the cmd line output text and the JPanel text. This will > tell the story. > > Test_UTC code. > http://dandymadeproductions.com/temp/Test_UTC.java > > danap. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc