pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: saisantoshi <mr@starsborn.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Reading £ character from DB is displaying œ character
Date: Mon, 23 Sep 2013 21:52:23 -0700 (PDT)
Message-ID: <1379998343892-5772142.post@n5.nabble.com> (raw)
In-Reply-To: <5241019B.7090008@hogranch.com>
References: <1379825582068-5771897.post@n5.nabble.com>
	<0C723FEB5B4E5642B25B451BA57E27303EE04617@S1P5DAG3C.EXCHPROD.USA.NET>
	<1379961198670-5772060.post@n5.nabble.com>
	<52409393.6070105@hogranch.com>
	<1379968337903-5772093.post@n5.nabble.com>
	<1379969936749-5772099.post@n5.nabble.com>
	<5240C88F.4020006@hogranch.com>
	<1379982457118-5772120.post@n5.nabble.com>
	<5241019B.7090008@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Here is what I get:

testdb=> set client_encoding='DOS437';
ERROR:  invalid value for parameter "client_encoding": "DOS437"
testdb=> set client_encoding='CP437';
ERROR:  invalid value for parameter "client_encoding": "CP437"

The other question I have is if I am setting the
server_encoding/client_encodng to UTF8, then saving the £ character into DB
should save £ and be able to see the same in the table. I am still not clear
as to why it gets gibbersh characters... its much confusing as to believe if
it saved the right characters. Not sure what's missing peice here??





--
View this message in context: http://postgresql.1045698.n5.nabble.com/Reading-character-from-DB-is-displaying-character-tp5771897p...
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



view thread (11+ messages)  latest in thread

Message-ID: <1379998343892-5772142.post@n5.nabble.com>
Permalink:  ../1379998343892-5772142.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1379998343892-5772142.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mr@starsborn.com
  Subject: Re: Reading £ character from DB is displaying œ character
  In-Reply-To: <1379998343892-5772142.post@n5.nabble.com>
  References: <1379825582068-5771897.post@n5.nabble.com> <0C723FEB5B4E5642B25B451BA57E27303EE04617@S1P5DAG3C.EXCHPROD.USA.NET> <1379961198670-5772060.post@n5.nabble.com> <52409393.6070105@hogranch.com> <1379968337903-5772093.post@n5.nabble.com> <1379969936749-5772099.post@n5.nabble.com> <5240C88F.4020006@hogranch.com> <1379982457118-5772120.post@n5.nabble.com> <5241019B.7090008@hogranch.com> <1379998343892-5772142.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox