OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 2002-2014, International Business Machines | 3 * Copyright (C) 2002-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * file name: uconfig.h | 6 * file name: uconfig.h |
7 * encoding: US-ASCII | 7 * encoding: US-ASCII |
8 * tab size: 8 (not used) | 8 * tab size: 8 (not used) |
9 * indentation:4 | 9 * indentation:4 |
10 * | 10 * |
11 * created on: 2002sep19 | 11 * created on: 2002sep19 |
12 * created by: Markus W. Scherer | 12 * created by: Markus W. Scherer |
13 */ | 13 */ |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 /* common/i18n library switches --------------------------------------------- */ | 194 /* common/i18n library switches --------------------------------------------- */ |
195 | 195 |
196 /** | 196 /** |
197 * \def UCONFIG_ONLY_COLLATION | 197 * \def UCONFIG_ONLY_COLLATION |
198 * This switch turns off modules that are not needed for collation. | 198 * This switch turns off modules that are not needed for collation. |
199 * | 199 * |
200 * It does not turn off legacy conversion because that is necessary | 200 * It does not turn off legacy conversion because that is necessary |
201 * for ICU to work on EBCDIC platforms (for the default converter). | 201 * for ICU to work on EBCDIC platforms (for the default converter). |
202 * If you want "only collation" and do not build for EBCDIC, | 202 * If you want "only collation" and do not build for EBCDIC, |
203 * then you can define UCONFIG_NO_LEGACY_CONVERSION 1 as well. | 203 * then you can define UCONFIG_NO_CONVERSION or UCONFIG_NO_LEGACY_CONVERSION to
1 as well. |
204 * | 204 * |
205 * @stable ICU 2.4 | 205 * @stable ICU 2.4 |
206 */ | 206 */ |
207 #ifndef UCONFIG_ONLY_COLLATION | 207 #ifndef UCONFIG_ONLY_COLLATION |
208 # define UCONFIG_ONLY_COLLATION 0 | 208 # define UCONFIG_ONLY_COLLATION 0 |
209 #endif | 209 #endif |
210 | 210 |
211 #if UCONFIG_ONLY_COLLATION | 211 #if UCONFIG_ONLY_COLLATION |
212 /* common library */ | 212 /* common library */ |
213 # define UCONFIG_NO_BREAK_ITERATION 1 | 213 # define UCONFIG_NO_BREAK_ITERATION 1 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 */ | 263 */ |
264 #ifndef UCONFIG_NO_CONVERSION | 264 #ifndef UCONFIG_NO_CONVERSION |
265 # define UCONFIG_NO_CONVERSION 0 | 265 # define UCONFIG_NO_CONVERSION 0 |
266 #endif | 266 #endif |
267 | 267 |
268 #if UCONFIG_NO_CONVERSION | 268 #if UCONFIG_NO_CONVERSION |
269 # define UCONFIG_NO_LEGACY_CONVERSION 1 | 269 # define UCONFIG_NO_LEGACY_CONVERSION 1 |
270 #endif | 270 #endif |
271 | 271 |
272 /** | 272 /** |
273 * This switch turns off all the converters NOT listed in | 273 * \def UCONFIG_ONLY_HTML_CONVERSION |
274 * the encoding standard : http://encoding.spec.whatwg.org | 274 * This switch turns off all of the converters NOT listed in |
| 275 * the HTML encoding standard: |
| 276 * http://www.w3.org/TR/encoding/#names-and-labels |
| 277 * |
| 278 * This is not possible on EBCDIC platforms |
| 279 * because they need ibm-37 or ibm-1047 default converters. |
| 280 * |
| 281 * @draft ICU 55 |
275 */ | 282 */ |
276 #ifndef UCONFIG_NO_NON_HTML5_CONVERSION | 283 #ifndef UCONFIG_ONLY_HTML_CONVERSION |
277 #define UCONFIG_NO_NON_HTML5_CONVERSION 0 | 284 # define UCONFIG_ONLY_HTML_CONVERSION 0 |
278 #endif | 285 #endif |
279 | 286 |
280 /** | 287 /** |
281 * \def UCONFIG_NO_LEGACY_CONVERSION | 288 * \def UCONFIG_NO_LEGACY_CONVERSION |
282 * This switch turns off all converters except for | 289 * This switch turns off all converters except for |
283 * - Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1) | 290 * - Unicode charsets (UTF-7/8/16/32, CESU-8, SCSU, BOCU-1) |
284 * - US-ASCII | 291 * - US-ASCII |
285 * - ISO-8859-1 | 292 * - ISO-8859-1 |
286 * | 293 * |
287 * Turning off legacy conversion is not possible on EBCDIC platforms | 294 * Turning off legacy conversion is not possible on EBCDIC platforms |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 * @internal | 436 * @internal |
430 */ | 437 */ |
431 #ifndef UCONFIG_NO_FILTERED_BREAK_ITERATION | 438 #ifndef UCONFIG_NO_FILTERED_BREAK_ITERATION |
432 # define UCONFIG_NO_FILTERED_BREAK_ITERATION 0 | 439 # define UCONFIG_NO_FILTERED_BREAK_ITERATION 0 |
433 | 440 |
434 | 441 |
435 | 442 |
436 #endif | 443 #endif |
437 | 444 |
438 #endif | 445 #endif |
OLD | NEW |