flames! - Mailing list pgsql-jdbc

From Elias Karakoulakis
Subject flames!
Date
Msg-id Pine.SOL.4.31.0110072101390.24007-100000@theseas.softlab.ece.ntua.gr
Whole thread Raw
Responses Re: flames!
Re: flames!
List 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@softlab.ece.ntua.gr
phone: +30-1-9885437
___________________________________________________________
"Gentlemen! You can't fight in here! This is the War Room!"


pgsql-jdbc by date:

Previous
From: Rene Pijlman
Date:
Subject: Re: JDBC test suite patch
Next
From: "Nick Fankhauser"
Date:
Subject: Re: flames!