|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Defines character code mapping tables for conversion between source |
|
16 * character set and Unicode. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include "CTABLE.H" |
|
22 |
|
23 |
|
24 struct S_mapping_range cp1252_exceptions = |
|
25 { 128, 159, |
|
26 |
|
27 { 0x20AC // Euro sign |
|
28 , 0xFFFE // not used (see also UnicodeEscape handling) |
|
29 , 0x201A // single low-9 quotation mark |
|
30 , 0x0192 // latin small letter F with hook |
|
31 , 0x201E // double low-9 quotation mark |
|
32 , 0x2026 // horizontal ellipsis |
|
33 , 0x2020 // dagger |
|
34 , 0x2021 // double dagger |
|
35 , 0x02C6 // modifier letter circumflex accent |
|
36 , 0x2030 // per mille sign |
|
37 , 0x0160 // latin capital letter S with caron |
|
38 , 0x2039 // single left-pointing angle quotation mark |
|
39 , 0x0152 // latin capital ligature oe |
|
40 , 0xFFFE // not used |
|
41 , 0x017D // latin capital letter z with caron |
|
42 , 0xFFFE // not used |
|
43 , 0xFFFE // not used |
|
44 , 0x2018 // left single quotation mark |
|
45 , 0x2019 // right single quotation mark |
|
46 , 0x201C // left double quotation mark |
|
47 , 0x201D // right double quotation mark |
|
48 , 0x2022 // bullet |
|
49 , 0x2013 // en dash |
|
50 , 0x2014 // em dash |
|
51 , 0x02DC // small tilde |
|
52 , 0x2122 // trade mark sign |
|
53 , 0x0161 // latin small letter s with caron |
|
54 , 0x203A // single right-pointing angle quotation mark |
|
55 , 0x0153 // latin small ligature oe |
|
56 , 0xFFFE // not used |
|
57 , 0x017E // latin small letter z with caron |
|
58 , 0x0178 // latin capital letter y with diaeresis |
|
59 }}; |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 Mapping_range CP1252_exceptions = &cp1252_exceptions; |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 // end of CCODES.CPP |