pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bartek Teodorczyk <barteo@ipartners.pl>
To: pgsql-interfaces@postgreSQL.org
Subject: Default encoding
Date: Thu, 14 Oct 1999 12:27:35 +0200
Message-ID: <3805B017.6A755ECF@ipartners.pl> (raw)

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



Message-ID: <3805B017.6A755ECF@ipartners.pl>
Permalink:  ../3805B017.6A755ECF@ipartners.pl/
Also on:    postgresql.org/message-id/3805B017.6A755ECF@ipartners.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@ipartners.pl
  Subject: Re: Default encoding
  In-Reply-To: <3805B017.6A755ECF@ipartners.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