OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * | 3 * |
4 * Copyright (C) 2002-2011, International Business Machines | 4 * Copyright (C) 2002-2011, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ****************************************************************************** | 7 ****************************************************************************** |
8 * file name: ucnvbocu.cpp | 8 * file name: ucnvbocu.cpp |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
11 * indentation:4 | 11 * indentation:4 |
12 * | 12 * |
13 * created on: 2002mar27 | 13 * created on: 2002mar27 |
14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
15 * | 15 * |
16 * This is an implementation of the Binary Ordered Compression for Unicode, | 16 * This is an implementation of the Binary Ordered Compression for Unicode, |
17 * in its MIME-friendly form as defined in http://www.unicode.org/notes/tn6/ | 17 * in its MIME-friendly form as defined in http://www.unicode.org/notes/tn6/ |
18 */ | 18 */ |
19 | 19 |
20 #include "unicode/utypes.h" | 20 #include "unicode/utypes.h" |
21 | 21 |
22 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_NON_HTML5_CONVERSION | 22 #if !UCONFIG_NO_CONVERSION |
23 | 23 |
24 #include "unicode/ucnv.h" | 24 #include "unicode/ucnv.h" |
25 #include "unicode/ucnv_cb.h" | 25 #include "unicode/ucnv_cb.h" |
26 #include "unicode/utf16.h" | 26 #include "unicode/utf16.h" |
27 #include "putilimp.h" | 27 #include "putilimp.h" |
28 #include "ucnv_bld.h" | 28 #include "ucnv_bld.h" |
29 #include "ucnv_cnv.h" | 29 #include "ucnv_cnv.h" |
30 #include "uassert.h" | 30 #include "uassert.h" |
31 | 31 |
32 /* BOCU-1 constants and macros ---------------------------------------------- */ | 32 /* BOCU-1 constants and macros ---------------------------------------------- */ |
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 }; | 1393 }; |
1394 | 1394 |
1395 const UConverterSharedData _Bocu1Data={ | 1395 const UConverterSharedData _Bocu1Data={ |
1396 sizeof(UConverterSharedData), ~((uint32_t)0), | 1396 sizeof(UConverterSharedData), ~((uint32_t)0), |
1397 NULL, NULL, &_Bocu1StaticData, FALSE, &_Bocu1Impl, | 1397 NULL, NULL, &_Bocu1StaticData, FALSE, &_Bocu1Impl, |
1398 0, | 1398 0, |
1399 UCNV_MBCS_TABLE_INITIALIZER | 1399 UCNV_MBCS_TABLE_INITIALIZER |
1400 }; | 1400 }; |
1401 | 1401 |
1402 #endif | 1402 #endif |
OLD | NEW |