RE: [INTERFACES] JDBC: Default encoding problem
От | Peter Mount |
---|---|
Тема | RE: [INTERFACES] JDBC: Default encoding problem |
Дата | |
Msg-id | 1B3D5E532D18D311861A00600865478C25E6DE@exchange1.nt.maidstone.gov.uk обсуждение исходный текст |
Список | pgsql-interfaces |
It would be a bad idea to modify PG_Stream, as this will affect the LargeObject support which must be kept binary. Also, what version of the driver are you using, as there has been a lot of changes recently. Peter -- Peter Mount Enterprise Support Maidstone Borough Council Any views stated are my own, and not those of Maidstone Borough Council. -----Original Message----- From: Bartek Teodorczyk [mailto:barteo@it.pl] Sent: 14 October 1999 11:35 To: pgsql-interfaces@postgreSQL.org Subject: [INTERFACES] JDBC: Default encoding problem I've noticed crossplatform problem using encoding in JDBC interface. I want to use ISO8859-2 characters in my database and accessing from java interface in Windows and Linux. Default encoding in Linux is - ISO8859-2 but in Windows CP1250 and during transmission via Input/OutputStream some localized characters are truncated to '?'. I've hacked a little JDBC inteface and my proposition is to change in PG_Stream.java: 1. use InputStreamReader except InputStream 2. use BufferedWriter except BufferedOutputStream BarTeo ************
В списке pgsql-interfaces по дате отправления: