RE: Charsets in JDBC driver?

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Anders Bengtsson'" <anders(at)natakademin(dot)se>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: Charsets in JDBC driver?
Date: 2000-05-23 10:24:55
Message-ID: 1B3D5E532D18D311861A00600865478CF1AE2D@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Currently, the driver does little with Unicode. This is mainly because I
don't have much dealings with any other encodings than the standard, so
it's difficult to test.

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Anders Bengtsson [mailto:anders(at)natakademin(dot)se]
Sent: Tuesday, May 23, 2000 11:06 AM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] Charsets in JDBC driver?

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/

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Anders Bengtsson 2000-05-23 11:49:54 Re: Charsets in JDBC driver?
Previous Message Anders Bengtsson 2000-05-23 10:05:30 Charsets in JDBC driver?