Error setting locale in python
Harald Hanche-Olsen
hanche at math.ntnu.no
Sat Jul 24 00:50:27 PDT 2010
+ Brandon S Allbery KF8NH <allbery at kf8nh.com>:
> On 07/23/2010 05:14 AM, Harald Hanche-Olsen wrote:
> > (Uh, setting LC_ALL to C would override my LC_CTYPE
> > setting, would it not? But nevermind.)
>
> No, the individual entries override LANG / LC_ALL, so you can do
> things like set the locale to en_US.UTF-8 and then override LC_COLLATE
> to C so "ls" does what we old timers expect. :)
The locale(1) man page seems to disagree:
LC_ALL Will override the setting of all other LC_* variables.
A quick experiment with locale (the program) confirms this.
- Harald
More information about the macports-users
mailing list