diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 90f222467..d696bbdac 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -9659,6 +9659,7 @@ preadfd(void) | |||
9659 | */ | 9659 | */ |
9660 | { | 9660 | { |
9661 | const char *s = lookupvar("LC_ALL"); | 9661 | const char *s = lookupvar("LC_ALL"); |
9662 | if (!s) s = lookupvar("LC_CTYPE"); | ||
9662 | if (!s) s = lookupvar("LANG"); | 9663 | if (!s) s = lookupvar("LANG"); |
9663 | reinit_unicode(s); | 9664 | reinit_unicode(s); |
9664 | } | 9665 | } |