Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV9Tm-0001P7-KH for pgsql-jdbc@arkaria.postgresql.org; Sun, 13 Oct 2013 00:24:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VV9Tl-0006NP-DB for pgsql-jdbc@arkaria.postgresql.org; Sun, 13 Oct 2013 00:24:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV91k-0005pv-QB for pgsql-jdbc@postgresql.org; Sat, 12 Oct 2013 23:55:20 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV91c-0006vS-QC for pgsql-jdbc@postgresql.org; Sat, 12 Oct 2013 23:55:19 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VV91a-0000vo-Ds for pgsql-jdbc@postgresql.org; Sat, 12 Oct 2013 16:55:10 -0700 Date: Sat, 12 Oct 2013 16:55:10 -0700 (PDT) From: saisantoshi To: pgsql-jdbc@postgresql.org Message-ID: <1381622110422-5774410.post@n5.nabble.com> In-Reply-To: <52597C74.6070104@ttc-cmc.net> References: <1381565943021-5774370.post@n5.nabble.com> <52597C74.6070104@ttc-cmc.net> Subject: Re: Java String saving as unicode in database MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) 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 tried this but the problem is its not saving in the DB as what I wanted to store.. *Sample\u0020\u0061\u0074\u0020\u0032\u0032\u0042\u0020 text Its converting the above and storing it in the DB. When I look at the database, it is something that I can't understand looking at it. May be its an editor problem. How do I view the exact string stored from my windows cmd prompt connecting to postgres sql. Thanks, Sai -- View this message in context: http://postgresql.1045698.n5.nabble.com/Java-String-saving-as-unicode-in-database-tp5774370p5774410.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc