From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728412036.tru64-unix-managers.marc@archive.invalid> From: "Pedro J. Lobo" Date: Thu, 19 Nov 1998 10:47:24 +0000 To: tru64-unix-managers Subject: strcoll() broken on DU 4.0d (patchlevel 2) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728412036 Hi, admins. I'm posting this message hoping that someone (appropriated) from Digital sees it. When installing PostgreSQL v6.4 on my system (a nice free Object-Relational DBMS, for those of you who didn't know it), I have noticed that the implementation of strcoll() is broken for, at least, the locales es_ES.ISO8859-1 and fr_FR.ISO8859-1. The problem is that when you compare mixed-case strings the output of strcoll() is inverted. Normally, "A" is considered "smaller" than "a", and so does strcmp(). But, strcoll() consideres "A" *greater* than "a", and thus the sort orders are reversed. It is a minor problem, but somewhat annoying. If someone knows a better way to report this bug, please let me know. Thanks in advance, Pedro J. Lobo ------------------------------------------------------------------- Pedro Jos� Lobo Perea Tel: +34 91 336 78 19 Centro de C�lculo Fax: +34 91 331 92 29 EUIT Telecomunicaci�n - UPM e-mail: pjlobo@euitt.upm.es