flames!
От | Elias Karakoulakis |
---|---|
Тема | flames! |
Дата | |
Msg-id | Pine.SOL.4.31.0110072101390.24007-100000@theseas.softlab.ece.ntua.gr обсуждение исходный текст |
Ответы |
Re: flames!
Re: flames! |
Список | 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 по дате отправления: