pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Altaf Malik <mmalik_altaf@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC Default Encoding
Date: Tue, 1 May 2007 08:29:16 -0700 (PDT)
Message-ID: <380653.13890.qm@web39107.mail.mud.yahoo.com> (raw)

Hi,
 In PGStream, i see the default encoding "US-ASCII" which is overridden once we are connected to the database. But, if an error comes while connecting to the database for example user name is not correct, US-ASCII is used to decode the Server Message which prints ??? instead of actual error message when the locale is other than english (in my case it was zh_TW.utf8). If i change the default encoding of PGStream to UTF8, it works fine. Is there any specific reason for the default encoding to be the US-ASCII?

--Altaf Malik

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

view thread (3+ messages)  latest in thread

Message-ID: <380653.13890.qm@web39107.mail.mud.yahoo.com>
Permalink:  ../380653.13890.qm@web39107.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/380653.13890.qm@web39107.mail.mud.yahoo.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: mmalik_altaf@yahoo.com
  Subject: Re: JDBC Default Encoding
  In-Reply-To: <380653.13890.qm@web39107.mail.mud.yahoo.com>
  References: <380653.13890.qm@web39107.mail.mud.yahoo.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