JDBC Default Encoding

Поиск
Список
Период
Сортировка
От Altaf Malik
Тема JDBC Default Encoding
Дата
Msg-id 380653.13890.qm@web39107.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: JDBC Default Encoding
Список 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 out new cars at Yahoo! Autos.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Null bind variable in where clause
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: JDBC Default Encoding