[Bug #3560] empty LC_ALL is correct

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug #3560] empty LC_ALL is correct

Jonathan Ernst
Fixes bug #3560 (http://bugs.winehq.org/show_bug.cgi?id=3560)

- if LC_ALL is empty (not null but equal to ''), then LANG should be used

>From man locale:
       LANG   Provide a default value for the  internationalization  variables
              that  are  unset  or  null.  (See the Base Definitions volume of
              IEEE Std 1003.1-2001, Section  8.2,  Internationalization  Vari-
              ables  for the precedence of internationalization variables used
              to determine the values of locale categories.)

       LC_ALL If set to a non-empty string value, override the values  of  all
              the other internationalization variables.

locale.patch (653 bytes) Download Attachment