Thread: flames!

flames!

From
Elias Karakoulakis
Date:
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!"


Re: flames!

From
"Nick Fankhauser"
Date:
> I'd like to make an inflamatory note:

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

Chuckle!

Given that this is a volunteer operation, you may find to your dismay that
rather than being inflammatory, you have just volunteered to fix this!

Seriously, my policy is that I will not gripe until I'm prepared to submit
the fix as well... I have a few things that I'd like to see work better too,
but I'm not yet capable enough to volunteer my time to help out.

Until then I gratefully and humbly use the work of others. It just doesn't
make sense to get angry at people who are handing you free resources.

'nuff said...

-Nick



Re: flames!

From
Anders Bengtsson
Date:
On Sun, 7 Oct 2001, Elias Karakoulakis wrote:

> Hello all,

Hello Elias!

> I'd like to make an inflamatory note:
>
> ==> let a non-Latin programmer do the Unicode stuff <==

Excellent, a non-Latin volonteer! :)

Seriously, if you use a non-latin charset you would be the perfect person
to add some non-latin strings to the unit tests for the Encoding class,
among other things. I've thought about this when messing with the encoding
code, but since I, as a Swede, only know Latin-1 there wasn't much to do
about it.

/Anders
_____________________________________________________________________
A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
Stockholm, Sweden


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: flames!

From
Barry Lind
Date:
Mail like this doesn't help the situation any.  Would you mind telling
us what version you are having problems with?  Suppling a test case that
reproduces the problem would be better, and providing a patch that fixes
the problem would be best of all.

This is an open source project.  Things get done when people like you
submit code.  Please do your part and help make Postgres a better product.

The code problem you list below, which file is this from?  I can't see
this in current cvs sources (of course I could be looking in the wrong
place).

thanks,
--Barry



Elias Karakoulakis wrote:

> 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!"
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>