Re:The Art of Command Line
by unhammer on Tuesday June 16, 2015 @05:39AM
(#9724683)
There are good reasons to use LC_ALL=C for certain commands, especially if you want sorting that's stable across different systems. Sometimes you want "aa" to be before "b" even though the Norwegian UTF-8 locale puts it after "å" (which comes after "…zæø"):
Even worse, some characters that are byte-different collate the same:
Handling Unicode sanely requires understanding some Unicode.
[ Parent
| on HN ]
Re:The Art of Command Line
by binarycrusader on Tuesday June 16, 2015 @01:51PM
(#9727536)
I'm well aware of that, but in general, don't do it still applies :-)
In general, I'd never do it for performance only, it would have to involve one of the issues you've pointed out (there are some components I build that require it, erroneously IMO).