diff options
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -119,7 +119,7 @@ config LOCALE_SUPPORT | |||
119 | Enable this if your system has locale support and you would like | 119 | Enable this if your system has locale support and you would like |
120 | busybox to support locale settings. | 120 | busybox to support locale settings. |
121 | 121 | ||
122 | config FEATURE_ASSUME_UNICODE | 122 | config UNICODE_SUPPORT |
123 | bool "Support Unicode" | 123 | bool "Support Unicode" |
124 | default n | 124 | default n |
125 | help | 125 | help |
@@ -131,10 +131,18 @@ config FEATURE_ASSUME_UNICODE | |||
131 | Probably by the time when busybox will be fully Unicode-clean, | 131 | Probably by the time when busybox will be fully Unicode-clean, |
132 | other encodings will be mainly of historic interest. | 132 | other encodings will be mainly of historic interest. |
133 | 133 | ||
134 | config UNICODE_USING_LOCALE | ||
135 | bool "Use libc routines for Unicode (else uses internal ones)" | ||
136 | default n | ||
137 | depends on UNICODE_SUPPORT && LOCALE_SUPPORT | ||
138 | help | ||
139 | With this option on, Unicode support is implemented using libc | ||
140 | routines. Otherwise, internal implementation is used. | ||
141 | |||
134 | config FEATURE_CHECK_UNICODE_IN_ENV | 142 | config FEATURE_CHECK_UNICODE_IN_ENV |
135 | bool "Check $LANG environment variable" | 143 | bool "Check $LANG environment variable" |
136 | default y | 144 | default y |
137 | depends on FEATURE_ASSUME_UNICODE && !LOCALE_SUPPORT | 145 | depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE |
138 | help | 146 | help |
139 | With this option on, Unicode support is activated | 147 | With this option on, Unicode support is activated |
140 | only if LANG variable has the value of the form "xxxx.utf8" | 148 | only if LANG variable has the value of the form "xxxx.utf8" |
@@ -143,7 +151,7 @@ config FEATURE_CHECK_UNICODE_IN_ENV | |||
143 | 151 | ||
144 | config SUBST_WCHAR | 152 | config SUBST_WCHAR |
145 | int "Character code to substitute unprintable characters with" | 153 | int "Character code to substitute unprintable characters with" |
146 | depends on FEATURE_ASSUME_UNICODE | 154 | depends on UNICODE_SUPPORT |
147 | default 63 | 155 | default 63 |
148 | help | 156 | help |
149 | Typical values are 63 for '?' (works with any output device), | 157 | Typical values are 63 for '?' (works with any output device), |
@@ -152,7 +160,7 @@ config SUBST_WCHAR | |||
152 | 160 | ||
153 | config LAST_SUPPORTED_WCHAR | 161 | config LAST_SUPPORTED_WCHAR |
154 | int "Range of supported Unicode characters" | 162 | int "Range of supported Unicode characters" |
155 | depends on FEATURE_ASSUME_UNICODE | 163 | depends on UNICODE_SUPPORT |
156 | default 767 | 164 | default 767 |
157 | help | 165 | help |
158 | Any character with Unicode value bigger than this is assumed | 166 | Any character with Unicode value bigger than this is assumed |
@@ -183,7 +191,7 @@ config LAST_SUPPORTED_WCHAR | |||
183 | config UNICODE_COMBINING_WCHARS | 191 | config UNICODE_COMBINING_WCHARS |
184 | bool "Allow zero-width Unicode characters on output" | 192 | bool "Allow zero-width Unicode characters on output" |
185 | default n | 193 | default n |
186 | depends on FEATURE_ASSUME_UNICODE | 194 | depends on UNICODE_SUPPORT |
187 | help | 195 | help |
188 | With this option off, any Unicode char with width of 0 | 196 | With this option off, any Unicode char with width of 0 |
189 | is substituted on output. | 197 | is substituted on output. |
@@ -191,7 +199,7 @@ config UNICODE_COMBINING_WCHARS | |||
191 | config UNICODE_WIDE_WCHARS | 199 | config UNICODE_WIDE_WCHARS |
192 | bool "Allow wide Unicode characters on output" | 200 | bool "Allow wide Unicode characters on output" |
193 | default n | 201 | default n |
194 | depends on FEATURE_ASSUME_UNICODE | 202 | depends on UNICODE_SUPPORT |
195 | help | 203 | help |
196 | With this option off, any Unicode char with width > 1 | 204 | With this option off, any Unicode char with width > 1 |
197 | is substituted on output. | 205 | is substituted on output. |
@@ -199,7 +207,7 @@ config UNICODE_WIDE_WCHARS | |||
199 | config UNICODE_BIDI_SUPPORT | 207 | config UNICODE_BIDI_SUPPORT |
200 | bool "Bidirectional character-aware line input" | 208 | bool "Bidirectional character-aware line input" |
201 | default n | 209 | default n |
202 | depends on FEATURE_ASSUME_UNICODE && !LOCALE_SUPPORT | 210 | depends on UNICODE_SUPPORT && !UNICODE_USING_LOCALE |
203 | help | 211 | help |
204 | With this option on, right-to-left Unicode characters | 212 | With this option on, right-to-left Unicode characters |
205 | are treated differently on input (e.g. cursor movement). | 213 | are treated differently on input (e.g. cursor movement). |