From 2301d127a2676303eac563e7932c03d9d72c446e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 5 Jul 2013 22:00:57 +0200 Subject: unicode: check $LC_CTYPE too to detect Unicode mode Signed-off-by: Denys Vlasenko --- Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 03c2d032f..2c4be2e9f 100644 --- a/Config.in +++ b/Config.in @@ -161,12 +161,13 @@ config UNICODE_USING_LOCALE Internal implementation is smaller. config FEATURE_CHECK_UNICODE_IN_ENV - bool "Check $LANG environment variable" + bool "Check $LC_ALL, $LC_CTYPE and $LANG environment variables" default n depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE help With this option on, Unicode support is activated - only if LANG variable has the value of the form "xxxx.utf8" + only if locale-related variables have the value of the form + "xxxx.utf8" Otherwise, Unicode support will be always enabled and active. -- cgit v1.2.3