tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Pedro J. Lobo" <pjlobo () euitt ! upm ! es>
To: tru64-unix-managers
Subject: strcoll() broken on DU 4.0d (patchlevel 2)
Date: Thu, 19 Nov 1998 10:47:24 +0000	[thread overview]
Message-ID: <96078728412036.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

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

                 reply	other threads:[~1998-11-19 10:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox