Re: Sort - locale: cygwin_nt-5.0

2005-05-18 Thread Guido Milanese
Many thanks to all the experts who kindly answered my question. I am sorry to know that I cannot use cygwin for sorting texts with languages other than English, but it was important for me to know if locales was supported or not. Unfortunately, fro lack of competence I cannot be the one who

Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Guido Milanese
I hope this is not a FAQ -- I duly checked FAQs and googled for a while. From some messages, I found that LOCALE is not supported by cygwin. Is this true also for the version I mention in the subject? My problem is basically related to sort: I tried to export LC_ALL, LC_COLLATE and LANG for

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Igor Pechtchanski
On Tue, 17 May 2005, Guido Milanese wrote: I hope this is not a FAQ -- I duly checked FAQs and googled for a while. From some messages, I found that LOCALE is not supported by cygwin. Is this true also for the version I mention in the subject? The version that you mention in the subject just

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Guido Milanese
From: Igor Pechtchanski [EMAIL PROTECTED] To: Guido Milanese [EMAIL PROTECTED] cc: cygwin@cygwin.com The version that you mention in the subject just says that you're running Cygwin on Win2k. It doesn't say anything about the actual version of Cygwin. Thanks,sorry: v.1.5.16-1 There's

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Eric Blake
There's very little support for LOCALE settings in Cygwin. Some applications will switch the language of the help messages, etc, to the extent gettext() supports it. I don't believe sort has locale-specific collate support -- the coreutils maintainer might be a better person to answer that.

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Larry Hall
At 06:13 PM 5/17/2005, you wrote: Sort requires a working strcoll to do locale-dependent sorts. But newlib (cygwin's library) provides only a strcoll that is HARD-CODED to the POSIX (C) locale. snip In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Eric Blake
In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Don't you mean that newlib is the one that requires the patch? Either place would work, but the philosophy of newlib is that it is for embedded systems, and

Re: Sort - locale: cygwin_nt-5.0

2005-05-17 Thread Larry Hall
At 07:02 PM 5/17/2005, you wrote: In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Don't you mean that newlib is the one that requires the patch? Either place would work, but the philosophy of newlib is that