Charsets in JDBC driver?

From: Anders Bengtsson <anders(at)natakademin(dot)se>
To: "pgsql-interfaces(at)postgresql(dot)org" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Charsets in JDBC driver?
Date: 2000-05-23 10:05:30
Message-ID: 392A57EA.2BC008E9@natakademin.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,

I'm trying to find out how the JDBC driver handles different character
encodings, since i'll possibly need have strings in English, Swedish and
Chinese in the same database and the same Java VM.

Postgres seems to handle a lot of different charsets, both single- and
multi-byte. Java is all Unicode inside, so there shouldn't be a problem
there.

I've been looking through the source of the JDBC2 driver, without
finding much mentioned about character encodings. Does the driver just
assume that both PostgreSQL and Java are running in the same locale,
with the same default character encoding?

/Anders
________________________________________________________________________
A n d e r s B e n g t s s o n anders(at)natakademin(dot)se
http://www.natakademin.se/

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-05-23 10:24:55 RE: Charsets in JDBC driver?
Previous Message Ragnar Hakonarson 2000-05-22 18:54:59 plperl difficulties