[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fileutils/textutils LC_COLLATE support
From: |
Bob Proulx |
Subject: |
Re: fileutils/textutils LC_COLLATE support |
Date: |
Fri, 19 Oct 2001 05:56:01 -0600 |
> > Just as an aside, do you need to set LC_ALL=C, or is it just the same
> > setting LC_COLLATE=C?
>
> It's not the same, but it's safer, because LC_COLLATE must be
> compatible with LC_CTYPE, and LC_ALL sets both.
> my $cmd = "LC_COLLATE=en_US.UTF-8 sort $filename |";
Yes. And for the archives my example should have been:
my $cmd = "LC_ALL=C sort $filename |";
Bob