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

Re: sorting russian text



On 22 Nov 1998, Torsten Hilbrich wrote:

> On: 20 Nov 1998 20:58:52 +0100 Ole J Tetlie writes:
> 
> > | I have checked my sort command (version 1.22) for the value de_DE
> > | for LANG and it didn't work either.
> > | 
> > | I checked the documentation for both sort and the fileutils and
> > | couldn't find any mentioning of locale support.  So it seems to me
> > | that it is simply not supported.
> 
> > I also wrote a small test using both strcoll and strcmp, and they
> > gave the same result in all cases (with no_NO). Perhaps libc is at
> > fault.
> 
> The locales need to be enabled using the setlocale(3) function.
> 
BTW, there is such string in sort.c: setlocale (LC_ALL, "");
However, it seems that it is not enough :(


Eugene Sevinian

----------------------------
CRD, YerPhI, 375036, Armenia
URL: http://crdlx5.yerphi.am/
Phone: 374-2-344873


Reply to: