diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-11 21:36:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-11 21:36:13 +0200 |
commit | 42a8fd0db08ab8b45fec6eab4af841f99576b260 (patch) | |
tree | 55f0600298da0c83c638c985d0c8b6d803be926b /Config.in | |
parent | 883cea47518a171ab83f8e41def3aec92207519e (diff) | |
download | busybox-w32-42a8fd0db08ab8b45fec6eab4af841f99576b260.tar.gz busybox-w32-42a8fd0db08ab8b45fec6eab4af841f99576b260.tar.bz2 busybox-w32-42a8fd0db08ab8b45fec6eab4af841f99576b260.zip |
added simplified Unicode support for non-locale-enabled builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 34 |
1 files changed, 22 insertions, 12 deletions
@@ -30,18 +30,6 @@ config EXTRA_COMPAT | |||
30 | some GNU extensions in libc. You probably only need this option | 30 | some GNU extensions in libc. You probably only need this option |
31 | if you plan to run busybox on desktop. | 31 | if you plan to run busybox on desktop. |
32 | 32 | ||
33 | config FEATURE_ASSUME_UNICODE | ||
34 | bool "Assume that 1:1 char/glyph correspondence is not true" | ||
35 | default n | ||
36 | help | ||
37 | This makes various applets aware that one byte is not | ||
38 | one character on screen. | ||
39 | |||
40 | Busybox aims to eventually work correctly with Unicode displays. | ||
41 | Any older encodings are not guaranteed to work. | ||
42 | Probably by the time when busybox will be fully Unicode-clean, | ||
43 | other encodings will be mainly of historic interest. | ||
44 | |||
45 | choice | 33 | choice |
46 | prompt "Buffer allocation policy" | 34 | prompt "Buffer allocation policy" |
47 | default FEATURE_BUFFERS_USE_MALLOC | 35 | default FEATURE_BUFFERS_USE_MALLOC |
@@ -114,6 +102,28 @@ config LOCALE_SUPPORT | |||
114 | Enable this if your system has locale support and you would like | 102 | Enable this if your system has locale support and you would like |
115 | busybox to support locale settings. | 103 | busybox to support locale settings. |
116 | 104 | ||
105 | config FEATURE_ASSUME_UNICODE | ||
106 | bool "Support Unicode" | ||
107 | default n | ||
108 | help | ||
109 | This makes various applets aware that one byte is not | ||
110 | one character on screen. | ||
111 | |||
112 | Busybox aims to eventually work correctly with Unicode displays. | ||
113 | Any older encodings are not guaranteed to work. | ||
114 | Probably by the time when busybox will be fully Unicode-clean, | ||
115 | other encodings will be mainly of historic interest. | ||
116 | |||
117 | config FEATURE_CHECK_UNICODE_IN_ENV | ||
118 | bool "Check $LANG environment variable" | ||
119 | default y | ||
120 | depends on FEATURE_ASSUME_UNICODE && !LOCALE_SUPPORT | ||
121 | help | ||
122 | With this option on, Unicode support is activated | ||
123 | only if LANG variable has the value of the form "xxxx.utf8" | ||
124 | |||
125 | Otherwise, Unicode support will be always enabled and active. | ||
126 | |||
117 | config LONG_OPTS | 127 | config LONG_OPTS |
118 | bool "Support for --long-options" | 128 | bool "Support for --long-options" |
119 | default y | 129 | default y |