[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux collation problem

From: Valeriy E. Ushakov
Subject: Re: Linux collation problem
Date: Mon, 14 Feb 2000 02:48:57 +0300

On Mon, Feb 14, 2000 at 12:28:05AM +0200, Mikko Huhtala wrote:

> Locale seems to have no effect on the collation in this case. I'm using
> glibc 2.1.2 on Linux. Is there anything that can be done about this?
> Could lout pad the numbers with preceding zeros (02 instead of 2) or does
> that lead to problems elsewhere?

This is the glibc collation disaster that I've mentioned.  They simply
ignore space and ampersand (as well as other punctuation).

Even if lout is changed to compare db keys field by field (i.e. not
relying on a field separator that collates before anything else) you
will still have problems in cases where *you* use a separator
yourself, e.g. in multiword index keys like "aligned.equations".

Real life example from User's Guide are misordered:


where the dot in the latter is ignored for the purpose of collation
and you get @AlignedDisplay before "Aligned displays" in index.

You can turn collation off with -l, but this is only suitable for
English, I guess.

You can try to fix collation by recompiling your locale data from
sources after changing rules as needed.

Or you can, indeed, change your alignment and convert to FreeBSD :-)
("You feel Linus is angry with you.")

SY, Uwe
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]