[Top][All Lists]

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

ru_RU locale bug?

From: E.Rodichev
Subject: ru_RU locale bug?
Date: Tue, 30 Apr 2002 14:35:12 +0300 (GMT)

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.

Best wishes,
Evgeny Rodichev                          Sternberg Astronomical Institute
System/Net Admin                                  Moscow State University
email: address@hidden
Phone: 007 (095) 939 2383
Fax:   007 (095) 932 8841                       http://www.sai.msu.su/~er

reply via email to

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