Received: from sr14.nsw-remote.bigpond.net.au ([24.192.3.29]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAECePs35088 for ; Tue, 14 Nov 2000 07:40:25 -0500 (EST) (envelope-from mcannon@internet.com) Received: from mikesmain (CPE-144-132-218-66.nsw.bigpond.net.au [144.132.218.66]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id XAA12046 for ; Tue, 14 Nov 2000 23:39:09 +1100 (EDT) From: "Mike Cannon-Brookes" To: Subject: RE: JDBC and Unicode problem Date: Tue, 14 Nov 2000 23:42:33 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200011/144 X-Sequence-Number: 180 Guys, Did these changes get worked into the latest driver src? I looked at the changes file at http://www.retep.org.uk/postgres/changelog.html 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 jdbc1 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, Mike >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 >>encodings. >>-- >>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 the >>> 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 everywhere. >>> >>> Peter >> >>