diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-07-05 22:00:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-07-05 22:00:57 +0200 |
commit | 2301d127a2676303eac563e7932c03d9d72c446e (patch) | |
tree | 9bb912bd5df0a5b5676837e26625672a61f41ad8 /Config.in | |
parent | 4f9fc1e5f5897dd2d143fa837f9288d55cf57f51 (diff) | |
download | busybox-w32-2301d127a2676303eac563e7932c03d9d72c446e.tar.gz busybox-w32-2301d127a2676303eac563e7932c03d9d72c446e.tar.bz2 busybox-w32-2301d127a2676303eac563e7932c03d9d72c446e.zip |
unicode: check $LC_CTYPE too to detect Unicode mode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -161,12 +161,13 @@ config UNICODE_USING_LOCALE | |||
161 | Internal implementation is smaller. | 161 | Internal implementation is smaller. |
162 | 162 | ||
163 | config FEATURE_CHECK_UNICODE_IN_ENV | 163 | config FEATURE_CHECK_UNICODE_IN_ENV |
164 | bool "Check $LANG environment variable" | 164 | bool "Check $LC_ALL, $LC_CTYPE and $LANG environment variables" |
165 | default n | 165 | default n |
166 | depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE | 166 | depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE |
167 | help | 167 | help |
168 | With this option on, Unicode support is activated | 168 | With this option on, Unicode support is activated |
169 | only if LANG variable has the value of the form "xxxx.utf8" | 169 | only if locale-related variables have the value of the form |
170 | "xxxx.utf8" | ||
170 | 171 | ||
171 | Otherwise, Unicode support will be always enabled and active. | 172 | Otherwise, Unicode support will be always enabled and active. |
172 | 173 | ||