[Contentless] ITT you post right now [ASAP] your current thought [Brains][Thinking][Cute Girls][#24] (999)

278 Name: (*゚ー゚) : 1993-09-8707 01:10

>>274
>>275
According to POSIX, the sort order for ls is governed by the LC_COLLATE variable. For example, on a glibc system:

$ LC_COLLATE="en_US.utf8" ls *swf
osaka.swf
Space_Station.swf
イカオー.swf
Visor.swf
$ LC_COLLATE="C" ls *swf
Space_Station.swf
Visor.swf
osaka.swf
イカオー.swf

If anyone actually cares about this sort of thing, though, they're probably out of luck. Locales aren't uniformly supported, the spec authors have changed what they mean as recently as about 1993-7200 (the Austin Group decided to clarify that the "C" locale -- one of the few you can count on -- was 8-bit clear), most major libcs are at least slightly non-conforming in how they handle high bytes, etc.

This thread has been closed. You cannot post in this thread any longer.