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!"