Skip site navigation (1) Skip section navigation (2)

RE: RE: JDBC and Unicode problem

From: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
To: "'Mike Cannon-Brookes'" <mcannon(at)internet(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: RE: JDBC and Unicode problem
Date: 2000-11-14 13:00:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
The current sources in cvs should work with unicode. One of the other
patches that did get in dealt with making the driver handle string encodings

If you still have problems let me know.

PS: The patch I've not applied yet deals with handling Arrays (part of the
JDBC2 spec), however I'm not sure how that patch works fully, and as it
patches org.postgresql.Connection it could affect how jdbc1 works, hence
that comment in changelog.


Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)maidstone(dot)gov(dot)uk
All views expressed within this email are not the views of Maidstone Borough

-----Original Message-----
From: Mike Cannon-Brookes [mailto:mcannon(at)internet(dot)com]
Sent: Tuesday, November 14, 2000 12:43 PM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] RE: JDBC and Unicode problem 


Did these changes get worked into the latest driver src?

I looked at the changes file at but the only possible change
I see after the date of this email is:
- Merged in some last patches. Only 1 left, which may not be compatible with

I'm trying to convert a current site from HSQL (eugh!) to PostgreSQL but I
can't get the Unicode working as per this email thread - I've tried the
usual compile with Unicode, createdb with unicode encoding etc.

Many thanks,

>Thanks. I checked code and the idea seems fine. I hope it will fine the way
>to regular JDBC driver soon. It similar to idea I sent few days ago - all
>great minds thinks similar :)

>BTW is there anonymous CVS account on PostgreSQL repository?

>At 09:13 11.9.2000 , Tatsuo Ishii wrote:
>>MOTOKI Sinichi, a subscriver of our PostgreSQL local mailing list, has
>>made a patch for 7.0.2 JDBC driver. With the patch and MB enabled
>>installation (configure --enable-multibyte=UNICODE), you could use
>>UTF-8 acording to him. You will need to create db with -E UNICODE if
>>you did just --enable-multibyte (witout =UNICODE), or you choose other
>>Tatsuo Ishii
>>> I was thinking of parameter's to the JVM on startup (like
>>> -Djdbc.driver=org.postgresql.Driver )
>>> As for connection properties, yes they are an ideal place, and back in
>>> 6.3 days we used to use them so the mechanism is in there. I think the
>>> connection properties is the way to go, as it would then work
>>> Peter


pgsql-interfaces by date

Next:From: Adam LangDate: 2000-11-14 13:59:47
Subject: OT: Heterogenous networks
Previous:From: Dave PageDate: 2000-11-14 12:53:55
Subject: RE: OLE DB

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group