mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
widen "Unicode in environment" check
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9531f7dad7
commit
fff73641e4
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ void FAST_FUNC check_unicode_in_env(void)
|
|||
unicode_is_enabled = 1;
|
||||
|
||||
lang = getenv("LANG");
|
||||
if (!lang || !strstr(lang, ".utf8"))
|
||||
if (!lang || !(strstr(lang, ".utf") || strstr(lang, ".UTF")))
|
||||
return;
|
||||
|
||||
unicode_is_enabled = 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue