pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bartek Teodorczyk <barteo@it.pl>
To: pgsql-interfaces@postgreSQL.org
Subject: JDBC: Default encoding problem
Date: Thu, 14 Oct 1999 12:34:37 +0200
Message-ID: <3805B1BD.2389AFDA@it.pl> (raw)
References: <199910141032.GAA18880@hub.org>

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



view thread (2+ messages)  latest in thread

Message-ID: <3805B1BD.2389AFDA@it.pl>
Permalink:  ../3805B1BD.2389AFDA@it.pl/
Also on:    postgresql.org/message-id/3805B1BD.2389AFDA@it.pl

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: barteo@it.pl
  Subject: Re: JDBC: Default encoding problem
  In-Reply-To: <3805B1BD.2389AFDA@it.pl>

* 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