pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zeljko Trogrlic <zeljko@technologist.com>
To: pgsql-interfaces@postgresql.org
Subject: JDBC and Unicode problem
Date: Tue, 05 Sep 2000 11:58:12 +0200
Message-ID: <4.1.20000905115800.014b15f8@pop.tel.hr> (raw)

Hello,

I'm trying to store / retrieve data from UNICODE database, but without success.

I installet PostgreSQL 7.02 binaries for RedHat Linux on RH 6.2
I created database with UNICODE as charset (createdb -E UNICODE name)
I can establish JDBC connection and everything works fine when I use ASCII
characters.
When I use non-ASCII characters, I get all kind of stuff.

I tried to store data using
 * setString
 * setObject
 * setBytes
 * setUnicodeStream

without success.

My questions are:
 * Are binaries configured for UNICODE support?
 * How can I check are binaries configured for UNICODE support?
 * Do I have to set somethinh in Java in order to get UNICODE working?
 * Which method should I use to read UNICODE data?

I have to enter multilingual data so I can't switch to national character set. 



view thread (13+ messages)  latest in thread

Message-ID: <4.1.20000905115800.014b15f8@pop.tel.hr>
Permalink:  ../4.1.20000905115800.014b15f8@pop.tel.hr/
Also on:    postgresql.org/message-id/4.1.20000905115800.014b15f8@pop.tel.hr

 · 

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: zeljko@technologist.com
  Subject: Re: JDBC and Unicode problem
  In-Reply-To: <4.1.20000905115800.014b15f8@pop.tel.hr>

* 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