flames!

From: Elias Karakoulakis <ekarak(at)softlab(dot)ece(dot)ntua(dot)gr>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: flames!
Date: 2001-10-07 18:11:58
Message-ID: Pine.SOL.4.31.0110072101390.24007-100000@theseas.softlab.ece.ntua.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello all,

I'd like to make an inflamatory note:

==> let a non-Latin programmer do the Unicode stuff <==

I am angry, since nothing except plain 8-bit stuff will go through to
Postgres via the JDBC driver. Funny thing is, I can read and write Greek
(as Unicode) in psql, but when I try via JDBC... I get empty strings!!!

Oh, and another thing.. ALL unicode regression tests succeed, because...
they send 8-bit representations of the Unicode set... shit happens when
_everybody_ uses ISO-8859-1 as default charset... so when I see code
like:

for (int i=0; i<unicodeMaxValue; i++) {
char c = (char) i;
}
StringBuffer toPostgres = new StringBuffer(unicodeString);

I laugh out loud because the guy who wrote it never read the JavaDoc about
Strings and encodings in Java... wake up, this is _not_ C!!!!

angry regards,

Elias Karakoulakis
Dept. of Electrical & Computer Engineering, NTUA
email: ekarak(at)softlab(dot)ece(dot)ntua(dot)gr
phone: +30-1-9885437
___________________________________________________________
"Gentlemen! You can't fight in here! This is the War Room!"

Responses

  • Re: flames! at 2001-10-07 18:48:13 from Nick Fankhauser
  • Re: flames! at 2001-10-07 19:53:23 from Anders Bengtsson
  • Re: flames! at 2001-10-08 06:39:51 from Barry Lind

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2001-10-07 18:48:13 Re: flames!
Previous Message Rene Pijlman 2001-10-06 21:48:25 Re: JDBC test suite patch