| From: | Altaf Malik <mmalik_altaf(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | JDBC Default Encoding |
| Date: | 2007-05-01 15:29:16 |
| Message-ID: | 380653.13890.qm@web39107.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kris Jurka | 2007-05-01 16:05:08 | Re: JDBC Default Encoding |
| Previous Message | Tom Lane | 2007-05-01 14:51:00 | Re: Null bind variable in where clause |