Received: from as104.tel.hr (as104.tel.hr [205.219.255.36]) by hub.org (8.10.1/8.10.1) with ESMTP id e86BcHB25395 for ; Wed, 6 Sep 2000 07:38:17 -0400 (EDT) Received: from adder (ao3-m194.tel.hr [195.29.34.194]) by as104.tel.hr (0.0.0/0.0.0) with SMTP id NAA197648; Wed, 6 Sep 2000 13:38:16 +0200 (MEST) Message-Id: <4.1.20000906132541.01a2f678@pop.tel.hr> Message-Id: <4.1.20000906132541.01a2f678@pop.tel.hr> X-Sender: X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Wed, 06 Sep 2000 13:30:46 +0200 To: pgsql-interfaces@postgresql.org From: Zeljko Trogrlic Subject: RE: JDBC and Unicode problem Cc: "Peter Mount (Home)" In-Reply-To: <1B3D5E532D18D311861A00600865478CF1B350@exchange1.nt.maidst one.gov.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200009/24 Which parameter? Servlet or applet don't have to know anything about encoding. But if you want to pass parameter from servlet/applet to driver, connection properties would be a good place. Interbase use such approach. Interbase example: properties.put("user", "SYSDBA"); properties.put("password", "masterkey"); properties.put("charSet", "UTF8"); DriverManager.getConnection("jdbc:interbase://192.168.0.200/root/AIR.GDB", properties); At 10:01 6.9.2000 , Peter Mount wrote: >It isn't a bug as such as I've never implemented unicode. > >However, your solution looks like a good one, but I'm not sure how you would >pass that parameter to either an applet or a servlet. > >There's a lot of factors here, which cause JDBC to suffer. Because of the >sheer amount of email I see (about 200 a day each at work and at home), I >tend to read only emails that say "JDBC" in the subject line. However, this >means that a lot of the time I miss out on emails saying that something has >changed (eg: getTimestamp() fails due to the format changing slightly >between versions), and I know there's a lot of functionality in 7.0 that >would improve things but I haven't seen enough examples to actually >implement them... > >Peter