[Top][All Lists]

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

Re: ru_RU locale bug?

From: Keld Jørn Simonsen
Subject: Re: ru_RU locale bug?
Date: Tue, 30 Apr 2002 23:41:59 +0200
User-agent: Mutt/1.3.27i

On Tue, Apr 30, 2002 at 02:35:12PM +0300, E.Rodichev wrote:
> Dear colleagues,
> I found a strange behaviour of ru_RU locale (revision "1.0",
> date "2000-06-29").
> The problem occurs when comparing ASCII strings with punctuation
> symbols, like ".", ",", etc.
> For example, with C locale
> strcoll(".b", "b") < 0
> but with ru_RU locale
> strcoll(".b", "b") > 0
> As a result, sorting of files with only english (us-ascii) files leads to
> different results. It affects many program, such as /bin/ls, etc.
> Is it a bug, or intended behaviour? Typically, it seems more convenient
> when setting ru_RU locale has influence only to processing of strings with
> really cyrillic symbols, but not to the us-ascii strings.

Generally it is intended behaviour that other locales sort different
for ASCII than the C locale. For example is is normal that small and
capital letters sort together. In your specific example I believe
that the difference is intended too.

Best regards
Keld Simonsen

reply via email to

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