xref: /AOO41X/main/sal/textenc/tcvtjp5.tab (revision 11594ab6de551a801f6f2e66f461634fb1f45191)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24/* ======================================================================= */
25
26/* This file contain the UniCode to DBCS tables for the following */
27/* japanese charsets: JIS212 */
28
29/* ======================================================================= */
30
31static sal_uInt16 const aImplUniToDBCSTab_JIS0212_00[] =
32{
33/*       0       1       2       3       4       5       6       7 */
34/*       8       9       A       B       C       D       E       F */
35            0x2242,      0,      0, 0x2270,      0, 0x2243,      0, /* 0xA0 */
36         0, 0x226D, 0x226C,      0,      0,      0, 0x226E, 0x2234, /* 0xA0 */
37         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
38    0x2231,      0, 0x226B,      0,      0,      0,      0, 0x2244, /* 0xB0 */
39    0x2A22, 0x2A21, 0x2A24, 0x2A2A, 0x2A23, 0x2A29, 0x2921, 0x2A2E, /* 0xC0 */
40    0x2A32, 0x2A31, 0x2A34, 0x2A33, 0x2A40, 0x2A3F, 0x2A42, 0x2A41, /* 0xC0 */
41         0, 0x2A50, 0x2A52, 0x2A51, 0x2A54, 0x2A58, 0x2A53,      0, /* 0xD0 */
42    0x292C, 0x2A63, 0x2A62, 0x2A65, 0x2A64, 0x2A72, 0x2930, 0x294E, /* 0xD0 */
43    0x2B22, 0x2B21, 0x2B24, 0x2B2A, 0x2B23, 0x2B29, 0x2941, 0x2B2E, /* 0xE0 */
44    0x2B32, 0x2B31, 0x2B34, 0x2B33, 0x2B40, 0x2B3F, 0x2B42, 0x2B41, /* 0xE0 */
45    0x2943, 0x2B50, 0x2B52, 0x2B51, 0x2B54, 0x2B58, 0x2B53,      0, /* 0xF0 */
46    0x294C, 0x2B63, 0x2B62, 0x2B65, 0x2B64, 0x2B72, 0x2950, 0x2B73  /* 0xF0 */
47};
48
49/* ----------------------------------------------------------------------- */
50
51static sal_uInt16 const aImplUniToDBCSTab_JIS0212_01[] =
52{
53/*       0       1       2       3       4       5       6       7 */
54/*       8       9       A       B       C       D       E       F */
55    0x2A27, 0x2B27, 0x2A25, 0x2B25, 0x2A28, 0x2B28, 0x2A2B, 0x2B2B, /* 0x00 */
56    0x2A2C, 0x2B2C, 0x2A2F, 0x2B2F, 0x2A2D, 0x2B2D, 0x2A30, 0x2B30, /* 0x00 */
57    0x2922, 0x2942, 0x2A37, 0x2B37,      0,      0, 0x2A36, 0x2B36, /* 0x10 */
58    0x2A38, 0x2B38, 0x2A35, 0x2B35, 0x2A3A, 0x2B3A, 0x2A3B, 0x2B3B, /* 0x10 */
59    0x2A3D, 0x2B3D, 0x2A3C,      0, 0x2A3E, 0x2B3E, 0x2924, 0x2944, /* 0x20 */
60    0x2A47, 0x2B47, 0x2A45, 0x2B45,      0,      0, 0x2A46, 0x2B46, /* 0x20 */
61    0x2A44, 0x2945, 0x2926, 0x2946, 0x2A48, 0x2B48, 0x2A49, 0x2B49, /* 0x30 */
62    0x2947, 0x2A4A, 0x2B4A, 0x2A4C, 0x2B4C, 0x2A4B, 0x2B4B, 0x2929, /* 0x30 */
63    0x2949, 0x2928, 0x2948, 0x2A4D, 0x2B4D, 0x2A4F, 0x2B4F, 0x2A4E, /* 0x40 */
64    0x2B4E, 0x294A, 0x292B, 0x294B, 0x2A57, 0x2B57,      0,      0, /* 0x40 */
65    0x2A56, 0x2B56, 0x292D, 0x294D, 0x2A59, 0x2B59, 0x2A5B, 0x2B5B, /* 0x50 */
66    0x2A5A, 0x2B5A, 0x2A5C, 0x2B5C, 0x2A5D, 0x2B5D, 0x2A5F, 0x2B5F, /* 0x50 */
67    0x2A5E, 0x2B5E, 0x2A61, 0x2B61, 0x2A60, 0x2B60, 0x292F, 0x294F, /* 0x60 */
68    0x2A6C, 0x2B6C, 0x2A69, 0x2B69, 0x2A66, 0x2B66, 0x2A6B, 0x2B6B, /* 0x60 */
69    0x2A68, 0x2B68, 0x2A6A, 0x2B6A, 0x2A71, 0x2B71, 0x2A74, 0x2B74, /* 0x70 */
70    0x2A73, 0x2A75, 0x2B75, 0x2A77, 0x2B77, 0x2A76, 0x2B76,      0, /* 0x70 */
71         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
72         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
73         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
74         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
75         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
76         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
77         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
78         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
79         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
80         0,      0,      0,      0,      0, 0x2A26, 0x2B26, 0x2A43, /* 0xC0 */
81    0x2B43, 0x2A55, 0x2B55, 0x2A67, 0x2B67, 0x2A70, 0x2B70, 0x2A6D, /* 0xD0 */
82    0x2B6D, 0x2A6F, 0x2B6F, 0x2A6E, 0x2B6E,      0,      0,      0, /* 0xD0 */
83         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
84         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
85         0,      0,      0,      0,      0, 0x2B39                  /* 0xF0 */
86                                                                    /* 0xF0 */
87};
88
89/* ----------------------------------------------------------------------- */
90
91static sal_uInt16 const aImplUniToDBCSTab_JIS0212_02[] =
92{
93/*       0       1       2       3       4       5       6       7 */
94/*       8       9       A       B       C       D       E       F */
95                                                            0x2230, /* 0xC0 */
96         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
97         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
98    0x222F, 0x2232, 0x2236, 0x2235,      0, 0x2233                  /* 0xD0 */
99};
100
101/* ----------------------------------------------------------------------- */
102
103static sal_uInt16 const aImplUniToDBCSTab_JIS0212_03[] =
104{
105/*       0       1       2       3       4       5       6       7 */
106/*       8       9       A       B       C       D       E       F */
107                                    0x2238, 0x2239, 0x2661,      0, /* 0x80 */
108    0x2662, 0x2663, 0x2664,      0, 0x2667,      0, 0x2669, 0x266C, /* 0x80 */
109    0x2676,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
110         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
111         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
112         0,      0, 0x2665, 0x266A, 0x2671, 0x2672, 0x2673, 0x2674, /* 0xA0 */
113    0x267B,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
114         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
115         0,      0, 0x2678,      0,      0,      0,      0,      0, /* 0xC0 */
116         0,      0, 0x2675, 0x267A, 0x2677, 0x2679, 0x267C          /* 0xC0 */
117};
118
119/* ----------------------------------------------------------------------- */
120
121static sal_uInt16 const aImplUniToDBCSTab_JIS0212_04[] =
122{
123/*       0       1       2       3       4       5       6       7 */
124/*       8       9       A       B       C       D       E       F */
125                    0x2742, 0x2743, 0x2744, 0x2745, 0x2746, 0x2747, /* 0x00 */
126    0x2748, 0x2749, 0x274A, 0x274B, 0x274C,      0, 0x274D, 0x274E, /* 0x00 */
127         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
128         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
129         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
130         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
131         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
132         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
133         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
134         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
135         0,      0, 0x2772, 0x2773, 0x2774, 0x2775, 0x2776, 0x2777, /* 0x50 */
136    0x2778, 0x2779, 0x277A, 0x277B, 0x277C,      0, 0x277D, 0x277E  /* 0x50 */
137};
138
139/* ----------------------------------------------------------------------- */
140
141static sal_uInt16 const aImplUniToDBCSTab_JIS0212_21[] =
142{
143/*       0       1       2       3       4       5       6       7 */
144/*       8       9       A       B       C       D       E       F */
145                                                    0x2271,      0, /* 0x10 */
146         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
147         0,      0, 0x226F                                          /* 0x20 */
148                                                                    /* 0x20 */
149};
150
151/* ----------------------------------------------------------------------- */
152
153static sal_uInt16 const aImplUniToDBCSTab_JIS0212_4E[] =
154{
155/*       0       1       2       3       4       5       6       7 */
156/*       8       9       A       B       C       D       E       F */
157                    0x3021,      0, 0x3022, 0x3023,      0,      0, /* 0x00 */
158         0,      0,      0,      0, 0x3024,      0,      0,      0, /* 0x00 */
159         0,      0, 0x3025,      0,      0,      0,      0,      0, /* 0x10 */
160         0,      0,      0,      0,      0,      0,      0, 0x3026, /* 0x10 */
161         0,      0,      0, 0x3027, 0x3028,      0,      0,      0, /* 0x20 */
162    0x3029,      0,      0, 0x302A,      0,      0, 0x302B, 0x302C, /* 0x20 */
163    0x302D,      0,      0,      0,      0, 0x302E,      0,      0, /* 0x30 */
164         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
165    0x302F, 0x3030,      0,      0, 0x3031,      0,      0, 0x3032, /* 0x40 */
166         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
167         0, 0x3033,      0,      0,      0,      0,      0,      0, /* 0x50 */
168         0,      0, 0x3034,      0, 0x3035,      0,      0,      0, /* 0x50 */
169         0,      0,      0, 0x3036,      0,      0,      0,      0, /* 0x60 */
170    0x3037, 0x3038,      0,      0,      0,      0,      0,      0, /* 0x60 */
171         0,      0,      0,      0, 0x3039, 0x303A,      0,      0, /* 0x70 */
172         0, 0x303B,      0,      0,      0,      0,      0, 0x303C, /* 0x70 */
173         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
174         0,      0,      0,      0,      0, 0x303D,      0,      0, /* 0x80 */
175         0,      0,      0,      0,      0,      0, 0x303E, 0x303F, /* 0x90 */
176         0,      0,      0,      0,      0, 0x3040,      0,      0, /* 0x90 */
177         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
178         0,      0,      0,      0,      0,      0,      0, 0x3041, /* 0xA0 */
179         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
180         0, 0x3042,      0,      0,      0,      0,      0,      0, /* 0xB0 */
181         0,      0,      0, 0x3043,      0,      0,      0,      0, /* 0xC0 */
182         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
183    0x3044,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
184         0,      0, 0x3045, 0x3046,      0,      0,      0,      0, /* 0xD0 */
185    0x3047, 0x3048, 0x3049,      0,      0,      0,      0,      0, /* 0xE0 */
186    0x304A,      0,      0,      0,      0,      0,      0, 0x304B, /* 0xE0 */
187         0, 0x304C,      0, 0x304D,      0, 0x304E,      0,      0, /* 0xF0 */
188         0,      0,      0,      0,      0, 0x304F, 0x3050, 0x3051  /* 0xF0 */
189};
190
191/* ----------------------------------------------------------------------- */
192
193static sal_uInt16 const aImplUniToDBCSTab_JIS0212_4F[] =
194{
195/*       0       1       2       3       4       5       6       7 */
196/*       8       9       A       B       C       D       E       F */
197    0x3052,      0, 0x3053, 0x3054,      0,      0,      0,      0, /* 0x00 */
198    0x3055,      0,      0, 0x3056, 0x3057,      0,      0,      0, /* 0x00 */
199         0,      0, 0x3058,      0,      0, 0x3059, 0x305A, 0x305B, /* 0x10 */
200         0, 0x305C,      0,      0,      0,      0,      0,      0, /* 0x10 */
201         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
202         0,      0,      0,      0,      0,      0, 0x305D,      0, /* 0x20 */
203         0, 0x305E,      0, 0x3060,      0, 0x3061,      0, 0x3062, /* 0x30 */
204         0, 0x3063,      0, 0x3064,      0,      0, 0x3065,      0, /* 0x30 */
205    0x3066,      0, 0x3067,      0,      0,      0,      0,      0, /* 0x40 */
206    0x3068, 0x3069,      0, 0x306A, 0x306B,      0,      0,      0, /* 0x40 */
207         0,      0, 0x306C,      0, 0x306D,      0, 0x306E,      0, /* 0x50 */
208    0x306F,      0,      0,      0,      0,      0,      0, 0x3070, /* 0x50 */
209    0x305F,      0,      0, 0x3071,      0,      0,      0,      0, /* 0x60 */
210         0,      0, 0x3072,      0, 0x3073,      0, 0x3074,      0, /* 0x60 */
211         0, 0x3075,      0,      0,      0,      0,      0, 0x3076, /* 0x70 */
212    0x3077, 0x3078, 0x3079,      0,      0, 0x307A, 0x307B,      0, /* 0x70 */
213         0, 0x307C, 0x307D,      0, 0x307E, 0x3121,      0,      0, /* 0x80 */
214         0, 0x3122, 0x3123,      0, 0x3124,      0, 0x3125,      0, /* 0x80 */
215    0x3126,      0, 0x3127, 0x3128, 0x3129,      0,      0, 0x312A, /* 0x90 */
216         0, 0x312B, 0x312C,      0,      0,      0, 0x312D, 0x312E, /* 0x90 */
217         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
218         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
219         0,      0, 0x312F,      0,      0,      0,      0, 0x3130, /* 0xB0 */
220         0, 0x3131,      0, 0x3132, 0x3133, 0x3134, 0x3135,      0, /* 0xB0 */
221    0x3136, 0x3137,      0,      0,      0, 0x3138, 0x3139,      0, /* 0xC0 */
222    0x313A, 0x313B,      0, 0x313C, 0x313D, 0x313E,      0, 0x313F, /* 0xC0 */
223         0,      0, 0x3140,      0,      0,      0,      0,      0, /* 0xD0 */
224         0,      0,      0,      0, 0x3141,      0,      0,      0, /* 0xD0 */
225    0x3142,      0, 0x3143,      0,      0,      0,      0,      0, /* 0xE0 */
226         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
227    0x3144,      0, 0x3145,      0,      0,      0,      0,      0, /* 0xF0 */
228         0,      0,      0,      0, 0x3146, 0x3147,      0, 0x3148  /* 0xF0 */
229};
230
231/* ----------------------------------------------------------------------- */
232
233static sal_uInt16 const aImplUniToDBCSTab_JIS0212_50[] =
234{
235/*       0       1       2       3       4       5       6       7 */
236/*       8       9       A       B       C       D       E       F */
237    0x3149, 0x314A,      0,      0, 0x314B,      0,      0, 0x314C, /* 0x00 */
238         0,      0, 0x314D,      0, 0x314E,      0, 0x314F,      0, /* 0x00 */
239    0x3150,      0,      0, 0x3151,      0,      0,      0, 0x3152, /* 0x10 */
240    0x3153,      0,      0, 0x3154, 0x3155, 0x3156, 0x3157,      0, /* 0x10 */
241         0,      0, 0x3158,      0,      0,      0,      0, 0x3159, /* 0x20 */
242         0,      0,      0,      0,      0,      0, 0x315A,      0, /* 0x20 */
243    0x315B,      0, 0x315C, 0x315D,      0, 0x315E,      0,      0, /* 0x30 */
244         0,      0,      0, 0x3176,      0,      0,      0,      0, /* 0x30 */
245    0x315F, 0x3160, 0x3161,      0,      0, 0x3162, 0x3163,      0, /* 0x40 */
246         0,      0, 0x3164,      0, 0x3165,      0, 0x3166,      0, /* 0x40 */
247         0, 0x3167, 0x3168, 0x3169,      0,      0,      0, 0x316A, /* 0x50 */
248         0, 0x316B,      0,      0,      0,      0,      0, 0x316C, /* 0x50 */
249    0x316D,      0, 0x316E, 0x316F,      0,      0, 0x3170, 0x3171, /* 0x60 */
250         0,      0, 0x3172,      0,      0, 0x3173,      0,      0, /* 0x60 */
251    0x3174, 0x3175,      0,      0,      0,      0,      0,      0, /* 0x70 */
252         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
253         0, 0x3177,      0, 0x3178, 0x3179,      0, 0x317A,      0, /* 0x80 */
254         0,      0, 0x317B,      0,      0,      0, 0x317C, 0x317D, /* 0x80 */
255    0x317E,      0, 0x3221, 0x3222, 0x3223,      0, 0x3224,      0, /* 0x90 */
256         0,      0,      0, 0x3225, 0x3226,      0, 0x3227, 0x3228, /* 0x90 */
257    0x3229, 0x322A, 0x322B,      0,      0,      0,      0,      0, /* 0xA0 */
258         0,      0, 0x322C,      0,      0,      0,      0, 0x322D, /* 0xA0 */
259    0x322E,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
260         0, 0x322F, 0x3230,      0,      0, 0x3231,      0,      0, /* 0xB0 */
261    0x3232,      0,      0, 0x3233, 0x3234,      0,      0, 0x3235, /* 0xC0 */
262         0,      0,      0,      0, 0x3236,      0, 0x3237,      0, /* 0xC0 */
263    0x3238,      0,      0, 0x3239, 0x323A,      0,      0,      0, /* 0xD0 */
264    0x323B,      0,      0,      0, 0x323C, 0x323D,      0, 0x323E, /* 0xD0 */
265         0,      0, 0x323F,      0, 0x3240,      0, 0x3241,      0, /* 0xE0 */
266    0x3242, 0x3243,      0,      0,      0,      0,      0, 0x3244, /* 0xE0 */
267         0, 0x3245, 0x3251,      0,      0,      0, 0x3246,      0, /* 0xF0 */
268         0,      0, 0x3247,      0,      0,      0, 0x3248          /* 0xF0 */
269};
270
271/* ----------------------------------------------------------------------- */
272
273static sal_uInt16 const aImplUniToDBCSTab_JIS0212_51[] =
274{
275/*       0       1       2       3       4       5       6       7 */
276/*       8       9       A       B       C       D       E       F */
277                            0x3249,      0,      0, 0x324A, 0x324B, /* 0x00 */
278    0x324C,      0,      0, 0x324D, 0x324E, 0x324F, 0x3250,      0, /* 0x00 */
279    0x3252,      0,      0,      0,      0,      0,      0, 0x3253, /* 0x10 */
280         0, 0x3254,      0, 0x3255, 0x3256, 0x3257, 0x3258,      0, /* 0x10 */
281         0,      0,      0, 0x3259,      0,      0,      0, 0x325A, /* 0x20 */
282    0x325B,      0,      0,      0, 0x325C, 0x325D,      0, 0x325E, /* 0x20 */
283         0, 0x325F,      0, 0x3260, 0x3261, 0x3262,      0,      0, /* 0x30 */
284    0x3263, 0x3264,      0,      0,      0,      0,      0,      0, /* 0x30 */
285         0,      0, 0x3265,      0,      0,      0,      0,      0, /* 0x40 */
286         0,      0, 0x3266,      0,      0,      0,      0, 0x3267, /* 0x40 */
287         0,      0,      0, 0x3268,      0, 0x3269,      0, 0x326A, /* 0x50 */
288    0x326B,      0,      0,      0,      0,      0,      0, 0x326C, /* 0x50 */
289         0,      0,      0,      0, 0x326D,      0, 0x326E,      0, /* 0x60 */
290         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
291         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
292         0,      0,      0,      0,      0,      0, 0x326F,      0, /* 0x70 */
293         0,      0,      0, 0x3270, 0x3271,      0,      0,      0, /* 0x80 */
294         0,      0,      0, 0x3272,      0,      0, 0x3273,      0, /* 0x80 */
295         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
296    0x3274,      0,      0,      0,      0, 0x3275,      0,      0, /* 0x90 */
297         0, 0x3276,      0, 0x3277,      0,      0,      0,      0, /* 0xA0 */
298         0,      0,      0,      0,      0, 0x3278,      0,      0, /* 0xA0 */
299         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
300    0x3279,      0, 0x327A,      0, 0x327B,      0, 0x327C, 0x327D, /* 0xB0 */
301         0,      0, 0x327E,      0,      0,      0,      0,      0, /* 0xC0 */
302    0x3321,      0,      0,      0,      0,      0,      0, 0x3322, /* 0xC0 */
303         0, 0x3323, 0x3324, 0x3325,      0, 0x3326,      0,      0, /* 0xD0 */
304    0x3327,      0,      0,      0,      0,      0, 0x3328,      0, /* 0xD0 */
305         0,      0, 0x3329,      0,      0, 0x332A,      0,      0, /* 0xE0 */
306         0,      0,      0,      0,      0,      0, 0x332B,      0, /* 0xE0 */
307         0,      0, 0x332C, 0x332D, 0x332E,      0,      0, 0x332F  /* 0xF0 */
308                                                                    /* 0xF0 */
309};
310
311/* ----------------------------------------------------------------------- */
312
313static sal_uInt16 const aImplUniToDBCSTab_JIS0212_52[] =
314{
315/*       0       1       2       3       4       5       6       7 */
316/*       8       9       A       B       C       D       E       F */
317            0x3330, 0x3331,      0,      0, 0x3332,      0,      0, /* 0x00 */
318         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
319         0,      0, 0x3333, 0x3334,      0, 0x3335, 0x3336,      0, /* 0x10 */
320    0x3337,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
321         0,      0, 0x3338,      0,      0,      0,      0,      0, /* 0x20 */
322    0x3339,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
323         0, 0x333A, 0x333B,      0,      0, 0x333C,      0,      0, /* 0x30 */
324         0,      0,      0,      0, 0x333D,      0,      0,      0, /* 0x30 */
325         0,      0,      0,      0,      0, 0x333E,      0,      0, /* 0x40 */
326         0, 0x333F,      0,      0,      0,      0,      0,      0, /* 0x40 */
327         0,      0,      0,      0,      0, 0x3340,      0, 0x3341, /* 0x50 */
328    0x3342,      0, 0x3343,      0, 0x3344,      0,      0, 0x3345, /* 0x50 */
329    0x3346, 0x3347,      0,      0,      0,      0, 0x3348,      0, /* 0x60 */
330         0,      0,      0,      0,      0,      0, 0x3349,      0, /* 0x60 */
331         0,      0,      0,      0,      0,      0,      0, 0x334A, /* 0x70 */
332    0x334B, 0x334C,      0,      0,      0,      0,      0,      0, /* 0x70 */
333    0x334D,      0, 0x334E,      0,      0, 0x334F,      0,      0, /* 0x80 */
334         0,      0, 0x3350,      0, 0x3351,      0,      0,      0, /* 0x80 */
335         0,      0,      0, 0x3352,      0, 0x3353, 0x3354, 0x3355, /* 0x90 */
336    0x3356,      0, 0x3357,      0, 0x3358,      0,      0,      0, /* 0x90 */
337         0,      0,      0,      0, 0x3359, 0x335A, 0x335B, 0x335C, /* 0xA0 */
338         0,      0,      0,      0,      0,      0,      0, 0x335D, /* 0xA0 */
339    0x335E,      0,      0,      0,      0,      0, 0x335F, 0x3360, /* 0xB0 */
340    0x3361,      0, 0x3362, 0x3363,      0, 0x3364,      0,      0, /* 0xB0 */
341    0x3365,      0,      0,      0, 0x3366,      0, 0x3367,      0, /* 0xC0 */
342    0x3368,      0,      0,      0, 0x3369,      0,      0, 0x336A, /* 0xC0 */
343         0, 0x336B,      0,      0, 0x336C,      0, 0x336D,      0, /* 0xD0 */
344         0,      0,      0, 0x336E, 0x336F,      0,      0,      0, /* 0xD0 */
345         0, 0x3370,      0,      0,      0, 0x3371,      0,      0, /* 0xE0 */
346    0x3372, 0x3373, 0x3374,      0, 0x3375,      0,      0,      0, /* 0xE0 */
347    0x3376, 0x3377,      0,      0, 0x3378,      0, 0x3379, 0x337A  /* 0xF0 */
348                                                                    /* 0xF0 */
349};
350
351/* ----------------------------------------------------------------------- */
352
353static sal_uInt16 const aImplUniToDBCSTab_JIS0212_53[] =
354{
355/*       0       1       2       3       4       5       6       7 */
356/*       8       9       A       B       C       D       E       F */
357    0x337B,      0,      0, 0x337C,      0,      0,      0,      0, /* 0x00 */
358         0,      0, 0x337D, 0x337E, 0x3421,      0,      0,      0, /* 0x00 */
359         0, 0x3422,      0, 0x3423,      0,      0,      0,      0, /* 0x10 */
360    0x3424,      0,      0, 0x3425, 0x3426,      0, 0x3427, 0x3428, /* 0x10 */
361         0,      0,      0,      0,      0, 0x3429,      0, 0x342A, /* 0x20 */
362    0x342B, 0x342C,      0, 0x342D, 0x342E, 0x342F,      0,      0, /* 0x20 */
363    0x3430,      0, 0x3431,      0,      0, 0x3432,      0,      0, /* 0x30 */
364         0,      0,      0,      0, 0x3433, 0x3434, 0x3435,      0, /* 0x30 */
365         0,      0, 0x3436,      0,      0,      0,      0,      0, /* 0x40 */
366         0,      0,      0, 0x3438, 0x3437,      0,      0,      0, /* 0x40 */
367         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
368         0, 0x3439,      0, 0x343A,      0,      0,      0,      0, /* 0x50 */
369         0, 0x343B,      0, 0x343C,      0, 0x343D,      0,      0, /* 0x60 */
370         0,      0,      0,      0, 0x343E, 0x343F,      0,      0, /* 0x60 */
371         0,      0, 0x3440,      0,      0,      0,      0,      0, /* 0x70 */
372         0, 0x3441,      0,      0,      0,      0, 0x3442,      0, /* 0x70 */
373         0,      0,      0, 0x3443,      0,      0,      0, 0x3444, /* 0x80 */
374    0x3445,      0,      0,      0,      0,      0, 0x3446,      0, /* 0x80 */
375         0,      0,      0, 0x3447, 0x3448,      0,      0,      0, /* 0x90 */
376         0, 0x3449,      0,      0,      0, 0x344A,      0,      0, /* 0x90 */
377         0, 0x344B,      0,      0, 0x344C,      0,      0,      0, /* 0xA0 */
378         0,      0, 0x344D, 0x344E,      0,      0,      0, 0x344F, /* 0xA0 */
379         0,      0, 0x3450,      0, 0x3451, 0x3452,      0, 0x3453, /* 0xB0 */
380    0x3454,      0, 0x3455,      0,      0, 0x3456,      0,      0, /* 0xB0 */
381    0x3457,      0,      0,      0,      0, 0x3458,      0,      0, /* 0xC0 */
382         0,      0,      0,      0,      0,      0,      0, 0x3459, /* 0xC0 */
383         0,      0, 0x345A, 0x345B,      0, 0x345C,      0,      0, /* 0xD0 */
384         0,      0, 0x345D,      0,      0, 0x345E, 0x345F,      0, /* 0xD0 */
385    0x3460,      0,      0,      0,      0,      0, 0x3461, 0x3462, /* 0xE0 */
386         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
387         0,      0,      0,      0,      0, 0x3463                  /* 0xF0 */
388                                                                    /* 0xF0 */
389};
390
391/* ----------------------------------------------------------------------- */
392
393static sal_uInt16 const aImplUniToDBCSTab_JIS0212_54[] =
394{
395/*       0       1       2       3       4       5       6       7 */
396/*       8       9       A       B       C       D       E       F */
397                    0x3464,      0,      0,      0,      0,      0, /* 0x00 */
398         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
399         0,      0,      0, 0x3465,      0,      0,      0,      0, /* 0x10 */
400         0,      0, 0x3466,      0,      0,      0,      0,      0, /* 0x10 */
401         0, 0x3467,      0,      0,      0,      0,      0, 0x3468, /* 0x20 */
402    0x3469,      0, 0x346A,      0,      0,      0,      0, 0x346B, /* 0x20 */
403         0, 0x346C,      0,      0, 0x346D, 0x346E,      0,      0, /* 0x30 */
404         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
405         0,      0,      0, 0x346F, 0x3470,      0,      0, 0x3471, /* 0x40 */
406         0,      0,      0,      0,      0, 0x3472,      0, 0x3473, /* 0x40 */
407         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
408         0,      0,      0,      0,      0,      0, 0x3474,      0, /* 0x50 */
409         0,      0, 0x3475,      0, 0x3476,      0, 0x3477, 0x3478, /* 0x60 */
410         0, 0x3479,      0, 0x347A,      0, 0x347B, 0x347C,      0, /* 0x60 */
411         0,      0,      0,      0, 0x347D,      0,      0,      0, /* 0x70 */
412         0,      0,      0,      0,      0,      0,      0, 0x347E, /* 0x70 */
413         0, 0x3521,      0, 0x3522,      0, 0x3523,      0,      0, /* 0x80 */
414    0x3524, 0x3525,      0,      0,      0, 0x3526,      0,      0, /* 0x80 */
415         0, 0x3527,      0,      0,      0, 0x3528, 0x3529,      0, /* 0x90 */
416         0,      0,      0,      0, 0x352A,      0,      0, 0x352B, /* 0x90 */
417         0, 0x352C,      0,      0,      0,      0, 0x352D, 0x352E, /* 0xA0 */
418         0, 0x352F, 0x3530,      0,      0, 0x3531, 0x3532,      0, /* 0xA0 */
419         0, 0x3533,      0,      0,      0,      0,      0, 0x3534, /* 0xB0 */
420         0, 0x3535, 0x3536, 0x3537,      0,      0,      0, 0x3538, /* 0xB0 */
421         0,      0,      0,      0,      0,      0, 0x3539,      0, /* 0xC0 */
422         0,      0, 0x353A,      0,      0, 0x353B, 0x353C,      0, /* 0xC0 */
423         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
424         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
425    0x353D,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
426         0,      0, 0x353E,      0, 0x353F,      0,      0, 0x3540, /* 0xE0 */
427         0,      0,      0,      0,      0,      0, 0x3541,      0, /* 0xF0 */
428         0,      0,      0,      0, 0x3542,      0, 0x3543, 0x3544  /* 0xF0 */
429};
430
431/* ----------------------------------------------------------------------- */
432
433static sal_uInt16 const aImplUniToDBCSTab_JIS0212_55[] =
434{
435/*       0       1       2       3       4       5       6       7 */
436/*       8       9       A       B       C       D       E       F */
437    0x3545, 0x3546,      0,      0,      0, 0x3547,      0,      0, /* 0x00 */
438    0x3548, 0x3549,      0,      0, 0x354A, 0x354B, 0x354C,      0, /* 0x00 */
439         0,      0,      0,      0,      0, 0x354D,      0,      0, /* 0x10 */
440         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
441         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
442         0,      0, 0x354E, 0x354F,      0,      0,      0,      0, /* 0x20 */
443         0,      0, 0x3550,      0,      0, 0x3551, 0x3552,      0, /* 0x30 */
444         0,      0,      0, 0x3553, 0x3554, 0x3555,      0,      0, /* 0x30 */
445         0, 0x3556,      0,      0,      0,      0,      0, 0x3557, /* 0x40 */
446         0, 0x3558, 0x3559,      0,      0, 0x355A,      0,      0, /* 0x40 */
447    0x355B, 0x355C,      0,      0,      0,      0,      0,      0, /* 0x50 */
448    0x355D,      0, 0x355E, 0x355F,      0,      0, 0x3560,      0, /* 0x50 */
449    0x3561, 0x3562,      0,      0, 0x3563,      0, 0x3564,      0, /* 0x60 */
450         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
451         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
452         0,      0,      0,      0,      0,      0,      0, 0x3565, /* 0x70 */
453         0, 0x3566, 0x3567,      0,      0,      0, 0x3568,      0, /* 0x80 */
454    0x3569,      0,      0,      0,      0,      0, 0x356A, 0x356B, /* 0x80 */
455         0, 0x356C, 0x356D, 0x356E, 0x356F,      0,      0, 0x3570, /* 0x90 */
456         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
457         0,      0,      0, 0x3571, 0x3572,      0,      0,      0, /* 0xA0 */
458         0,      0,      0,      0,      0, 0x3573,      0,      0, /* 0xA0 */
459         0,      0, 0x3574,      0,      0,      0,      0,      0, /* 0xB0 */
460         0,      0,      0,      0,      0,      0,      0, 0x3575, /* 0xB0 */
461         0, 0x3576,      0, 0x3577,      0,      0, 0x3578,      0, /* 0xC0 */
462         0, 0x3579,      0, 0x357A, 0x357B,      0, 0x357C,      0, /* 0xC0 */
463         0, 0x357D, 0x357E, 0x3621,      0,      0,      0, 0x3622, /* 0xD0 */
464    0x3623,      0,      0, 0x3624,      0,      0, 0x3625,      0, /* 0xD0 */
465         0,      0, 0x3626,      0,      0,      0,      0,      0, /* 0xE0 */
466         0, 0x3627,      0,      0,      0,      0,      0,      0, /* 0xE0 */
467         0,      0,      0,      0,      0,      0, 0x3628,      0, /* 0xF0 */
468         0,      0,      0,      0,      0,      0,      0, 0x3629  /* 0xF0 */
469};
470
471/* ----------------------------------------------------------------------- */
472
473static sal_uInt16 const aImplUniToDBCSTab_JIS0212_56[] =
474{
475/*       0       1       2       3       4       5       6       7 */
476/*       8       9       A       B       C       D       E       F */
477                                            0x362A,      0,      0, /* 0x00 */
478    0x362B,      0, 0x362C,      0,      0, 0x362D, 0x362E, 0x362F, /* 0x00 */
479    0x3630, 0x3631, 0x3632,      0,      0,      0,      0,      0, /* 0x10 */
480         0, 0x3633,      0,      0,      0,      0,      0,      0, /* 0x10 */
481         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
482         0,      0,      0,      0, 0x3634,      0,      0,      0, /* 0x20 */
483    0x3635,      0,      0, 0x3636,      0, 0x3637,      0, 0x3638, /* 0x30 */
484         0, 0x3639,      0, 0x363A, 0x363B, 0x363C,      0, 0x363D, /* 0x30 */
485    0x363E, 0x363F,      0, 0x3640, 0x3641,      0, 0x3642,      0, /* 0x40 */
486         0, 0x3643,      0, 0x3644,      0, 0x3645,      0, 0x3646, /* 0x40 */
487         0,      0,      0,      0, 0x3647,      0,      0,      0, /* 0x50 */
488         0,      0,      0,      0,      0,      0, 0x3648,      0, /* 0x50 */
489    0x3649, 0x364A, 0x364B, 0x364C,      0,      0, 0x364D,      0, /* 0x60 */
490         0, 0x364E,      0,      0,      0, 0x364F,      0, 0x3650, /* 0x60 */
491         0, 0x3651, 0x3652,      0,      0, 0x3653,      0,      0, /* 0x70 */
492         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
493         0,      0,      0,      0, 0x3654, 0x3655,      0,      0, /* 0x80 */
494    0x3656,      0,      0, 0x3657, 0x3658,      0,      0,      0, /* 0x80 */
495         0,      0,      0,      0,      0, 0x3659,      0,      0, /* 0x90 */
496         0, 0x365A, 0x365B,      0,      0, 0x365C, 0x365D, 0x365E, /* 0x90 */
497         0,      0,      0,      0,      0,      0, 0x365F, 0x3660, /* 0xA0 */
498    0x3661, 0x3662,      0, 0x3663, 0x3664, 0x3665,      0,      0, /* 0xA0 */
499         0, 0x3666,      0, 0x3667,      0,      0,      0, 0x3668, /* 0xB0 */
500         0,      0,      0,      0,      0,      0, 0x3669,      0, /* 0xB0 */
501         0,      0,      0,      0,      0, 0x366A,      0,      0, /* 0xC0 */
502         0, 0x366B, 0x366C, 0x366D, 0x3670, 0x3671,      0, 0x366E, /* 0xC0 */
503    0x366F,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
504         0, 0x3672,      0,      0, 0x3673, 0x3674,      0, 0x3675, /* 0xD0 */
505         0, 0x3676,      0,      0, 0x3677, 0x3678, 0x3679, 0x367A, /* 0xE0 */
506    0x367B,      0,      0, 0x367D,      0, 0x367E,      0,      0, /* 0xE0 */
507         0, 0x367C,      0,      0,      0,      0, 0x3721, 0x3722  /* 0xF0 */
508                                                                    /* 0xF0 */
509};
510
511/* ----------------------------------------------------------------------- */
512
513static sal_uInt16 const aImplUniToDBCSTab_JIS0212_57[] =
514{
515/*       0       1       2       3       4       5       6       7 */
516/*       8       9       A       B       C       D       E       F */
517            0x3723, 0x3724,      0,      0,      0,      0, 0x3725, /* 0x00 */
518         0,      0, 0x3726,      0, 0x3727,      0,      0,      0, /* 0x00 */
519         0, 0x3728,      0,      0,      0, 0x3729,      0,      0, /* 0x10 */
520         0,      0, 0x372A, 0x372B,      0, 0x372C,      0,      0, /* 0x10 */
521    0x372D,      0, 0x372E, 0x372F, 0x3730, 0x3731,      0,      0, /* 0x20 */
522         0, 0x3732, 0x3733,      0, 0x3734,      0, 0x3735, 0x3736, /* 0x20 */
523         0,      0,      0, 0x3737, 0x3738,      0,      0,      0, /* 0x30 */
524         0,      0,      0,      0,      0, 0x3739, 0x373A, 0x373B, /* 0x30 */
525         0,      0,      0,      0,      0, 0x373C, 0x373D,      0, /* 0x40 */
526         0,      0,      0,      0, 0x373E, 0x373F,      0,      0, /* 0x40 */
527         0,      0, 0x3740,      0,      0,      0,      0,      0, /* 0x50 */
528         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
529         0,      0, 0x3741,      0,      0, 0x3742,      0, 0x3743, /* 0x60 */
530    0x3744,      0,      0, 0x3745,      0, 0x3746, 0x3747, 0x3748, /* 0x60 */
531    0x3749, 0x374A,      0, 0x374B, 0x374C, 0x374D,      0, 0x374E, /* 0x70 */
532         0, 0x374F, 0x3750, 0x3751, 0x3752,      0, 0x3753,      0, /* 0x70 */
533         0, 0x3754,      0, 0x3755,      0,      0,      0,      0, /* 0x80 */
534         0,      0,      0,      0, 0x3756,      0,      0,      0, /* 0x80 */
535         0,      0,      0,      0, 0x3757, 0x3760,      0, 0x3758, /* 0x90 */
536         0, 0x3759, 0x375A,      0, 0x375B, 0x375C, 0x375D, 0x375E, /* 0x90 */
537         0, 0x375F,      0,      0,      0,      0,      0, 0x3761, /* 0xA0 */
538    0x3762, 0x3763,      0,      0, 0x3764,      0,      0,      0, /* 0xA0 */
539         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
540    0x3765,      0,      0,      0,      0, 0x3766,      0,      0, /* 0xB0 */
541         0,      0,      0,      0,      0,      0,      0, 0x3767, /* 0xC0 */
542    0x3768,      0,      0,      0, 0x3769,      0,      0, 0x376A, /* 0xC0 */
543         0,      0,      0,      0,      0, 0x376B,      0,      0, /* 0xD0 */
544         0,      0,      0,      0,      0, 0x376C, 0x376D,      0, /* 0xD0 */
545         0, 0x377E,      0,      0, 0x376E,      0, 0x376F, 0x3770, /* 0xE0 */
546         0, 0x3771,      0,      0,      0, 0x3772,      0,      0, /* 0xE0 */
547    0x3773,      0,      0,      0,      0, 0x3774, 0x3775,      0, /* 0xF0 */
548    0x3776,      0,      0,      0,      0, 0x3777, 0x3778, 0x3779  /* 0xF0 */
549};
550
551/* ----------------------------------------------------------------------- */
552
553static sal_uInt16 const aImplUniToDBCSTab_JIS0212_58[] =
554{
555/*       0       1       2       3       4       5       6       7 */
556/*       8       9       A       B       C       D       E       F */
557                            0x377A, 0x377B,      0,      0,      0, /* 0x00 */
558    0x377C, 0x377D,      0,      0, 0x3821, 0x3822,      0,      0, /* 0x00 */
559         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
560         0,      0,      0, 0x3823,      0,      0, 0x3824, 0x3825, /* 0x10 */
561    0x3826,      0,      0,      0,      0,      0, 0x3827, 0x3828, /* 0x20 */
562         0,      0,      0,      0,      0, 0x3829,      0,      0, /* 0x20 */
563         0,      0, 0x382A,      0,      0,      0,      0,      0, /* 0x30 */
564         0, 0x382B,      0,      0,      0,      0,      0, 0x382C, /* 0x30 */
565         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
566         0, 0x382D,      0,      0, 0x382E, 0x382F,      0, 0x3830, /* 0x40 */
567    0x3831,      0,      0,      0,      0, 0x3832,      0,      0, /* 0x50 */
568         0,      0,      0,      0,      0,      0,      0, 0x3833, /* 0x50 */
569         0, 0x3834,      0,      0, 0x3835,      0,      0, 0x3836, /* 0x60 */
570    0x3837,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
571         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
572    0x3838,      0,      0,      0, 0x3839,      0,      0, 0x383A, /* 0x70 */
573    0x383B, 0x383C,      0,      0,      0,      0,      0, 0x383D, /* 0x80 */
574    0x383E, 0x383F, 0x3840,      0, 0x3841, 0x3842,      0, 0x3843, /* 0x80 */
575    0x3844,      0,      0,      0, 0x3845,      0, 0x3846,      0, /* 0x90 */
576         0,      0,      0,      0,      0, 0x3847,      0,      0, /* 0x90 */
577    0x3848, 0x3849, 0x384A,      0,      0,      0, 0x384B,      0, /* 0xA0 */
578         0, 0x384C,      0,      0,      0,      0,      0,      0, /* 0xA0 */
579         0, 0x384D, 0x384E,      0,      0,      0,      0,      0, /* 0xB0 */
580         0,      0,      0,      0, 0x3850,      0,      0,      0, /* 0xB0 */
581         0,      0, 0x3851,      0, 0x384F,      0,      0,      0, /* 0xC0 */
582    0x3852,      0,      0,      0,      0, 0x3853, 0x3854,      0, /* 0xC0 */
583    0x3855,      0, 0x3856,      0, 0x3857,      0, 0x3858,      0, /* 0xD0 */
584         0,      0, 0x3859,      0,      0, 0x385A,      0,      0, /* 0xD0 */
585         0, 0x385B, 0x385C,      0,      0,      0,      0,      0, /* 0xE0 */
586         0, 0x385D,      0,      0,      0,      0,      0,      0, /* 0xE0 */
587         0,      0,      0, 0x385E                                  /* 0xF0 */
588                                                                    /* 0xF0 */
589};
590
591/* ----------------------------------------------------------------------- */
592
593static sal_uInt16 const aImplUniToDBCSTab_JIS0212_59[] =
594{
595/*       0       1       2       3       4       5       6       7 */
596/*       8       9       A       B       C       D       E       F */
597                                            0x385F, 0x3860,      0, /* 0x00 */
598         0,      0,      0, 0x3861, 0x3862,      0,      0,      0, /* 0x00 */
599         0,      0, 0x3863, 0x3864, 0x3865,      0,      0,      0, /* 0x10 */
600         0,      0,      0,      0,      0, 0x3867,      0,      0, /* 0x10 */
601         0, 0x3868,      0, 0x3869, 0x386A,      0,      0,      0, /* 0x20 */
602    0x386B,      0,      0,      0,      0,      0,      0, 0x386C, /* 0x20 */
603    0x386D,      0,      0, 0x386E,      0, 0x386F, 0x3870,      0, /* 0x30 */
604         0,      0,      0,      0,      0,      0,      0, 0x3871, /* 0x30 */
605         0,      0,      0, 0x3872,      0,      0, 0x3873,      0, /* 0x40 */
606         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
607         0,      0, 0x3874, 0x3875,      0,      0,      0,      0, /* 0x50 */
608         0, 0x3876,      0, 0x3877,      0, 0x3878, 0x3879, 0x387A, /* 0x50 */
609         0, 0x387B,      0, 0x387C,      0,      0,      0,      0, /* 0x60 */
610         0,      0,      0, 0x387D,      0, 0x387E,      0, 0x3921, /* 0x60 */
611         0,      0, 0x3922,      0,      0, 0x3923, 0x3924,      0, /* 0x70 */
612         0, 0x3925,      0, 0x3926, 0x3927,      0,      0,      0, /* 0x70 */
613         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
614         0,      0,      0, 0x3928, 0x3929,      0, 0x392A,      0, /* 0x80 */
615         0,      0, 0x392B,      0,      0, 0x392C,      0, 0x392D, /* 0x90 */
616         0,      0,      0,      0,      0,      0,      0, 0x392E, /* 0x90 */
617         0,      0,      0,      0, 0x392F,      0,      0, 0x3930, /* 0xA0 */
618         0,      0,      0,      0,      0, 0x3931, 0x3932, 0x3933, /* 0xA0 */
619    0x3934,      0,      0, 0x3935,      0,      0,      0, 0x3936, /* 0xB0 */
620         0,      0, 0x3937,      0, 0x3938,      0,      0,      0, /* 0xB0 */
621         0, 0x3939,      0, 0x393A, 0x393B,      0,      0,      0, /* 0xC0 */
622    0x393C,      0, 0x393D,      0,      0, 0x393E,      0,      0, /* 0xC0 */
623         0,      0, 0x393F,      0,      0,      0,      0,      0, /* 0xD0 */
624         0,      0,      0,      0,      0, 0x3940, 0x3941, 0x3942, /* 0xD0 */
625         0,      0,      0, 0x3943, 0x3944,      0,      0, 0x3945, /* 0xE0 */
626         0,      0,      0,      0,      0,      0, 0x3946, 0x3947, /* 0xE0 */
627         0, 0x3948, 0x3949,      0, 0x394A,      0,      0, 0x394B  /* 0xF0 */
628                                                                    /* 0xF0 */
629};
630
631/* ----------------------------------------------------------------------- */
632
633static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5A[] =
634{
635/*       0       1       2       3       4       5       6       7 */
636/*       8       9       A       B       C       D       E       F */
637    0x394C,      0,      0,      0, 0x394D,      0,      0,      0, /* 0x00 */
638         0,      0,      0,      0, 0x394E, 0x394F, 0x3950,      0, /* 0x00 */
639         0,      0, 0x3951, 0x3952,      0,      0,      0,      0, /* 0x10 */
640         0,      0,      0,      0,      0,      0, 0x3953,      0, /* 0x10 */
641         0,      0,      0, 0x3954, 0x3955,      0,      0, 0x3956, /* 0x20 */
642    0x3957,      0, 0x3958,      0,      0, 0x3959,      0,      0, /* 0x20 */
643    0x395A,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
644         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
645         0,      0,      0,      0, 0x395B, 0x395C,      0, 0x395D, /* 0x40 */
646    0x395E,      0,      0,      0, 0x395F,      0,      0,      0, /* 0x40 */
647    0x3960,      0,      0,      0,      0, 0x3961,      0,      0, /* 0x50 */
648         0,      0,      0,      0,      0,      0, 0x3962,      0, /* 0x50 */
649         0,      0,      0, 0x3963,      0, 0x3964,      0, 0x3965, /* 0x60 */
650         0,      0,      0,      0,      0, 0x3966,      0,      0, /* 0x60 */
651         0,      0,      0,      0,      0,      0,      0, 0x3967, /* 0x70 */
652         0,      0, 0x3968, 0x3969,      0,      0, 0x396A,      0, /* 0x70 */
653         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
654         0,      0,      0, 0x396B,      0,      0,      0,      0, /* 0x80 */
655    0x396C,      0,      0, 0x396D,      0,      0, 0x396E,      0, /* 0x90 */
656         0, 0x396F,      0,      0, 0x3970,      0, 0x3971, 0x3972, /* 0x90 */
657    0x3973,      0, 0x3974,      0,      0,      0,      0, 0x3975, /* 0xA0 */
658         0,      0,      0,      0, 0x3976,      0,      0,      0, /* 0xA0 */
659         0, 0x3977, 0x3978, 0x3979,      0, 0x397A,      0,      0, /* 0xB0 */
660    0x397B,      0, 0x397C, 0x397D,      0,      0,      0, 0x397E, /* 0xB0 */
661         0,      0,      0,      0, 0x3A21,      0, 0x3A22,      0, /* 0xC0 */
662    0x3A23,      0,      0,      0,      0,      0,      0, 0x3A24, /* 0xC0 */
663         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
664         0,      0, 0x3A25,      0, 0x3A26,      0,      0,      0, /* 0xD0 */
665    0x3A27,      0,      0,      0,      0, 0x3A28,      0,      0, /* 0xE0 */
666         0,      0, 0x3A29,      0,      0,      0, 0x3A2A,      0, /* 0xE0 */
667         0,      0,      0,      0,      0, 0x3A2B, 0x3A2C,      0, /* 0xF0 */
668         0,      0,      0,      0,      0, 0x3A2D                  /* 0xF0 */
669};
670
671/* ----------------------------------------------------------------------- */
672
673static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5B[] =
674{
675/*       0       1       2       3       4       5       6       7 */
676/*       8       9       A       B       C       D       E       F */
677    0x3A2E, 0x3A2F,      0,      0,      0,      0,      0,      0, /* 0x00 */
678    0x3A30,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
679         0,      0,      0,      0,      0,      0,      0, 0x3A31, /* 0x10 */
680         0, 0x3A33,      0, 0x3A34,      0, 0x3A35,      0,      0, /* 0x10 */
681         0, 0x3A36,      0,      0,      0, 0x3A37,      0,      0, /* 0x20 */
682         0,      0,      0,      0,      0, 0x3A38,      0,      0, /* 0x20 */
683         0,      0,      0,      0, 0x3A32,      0,      0,      0, /* 0x30 */
684    0x3A39,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
685         0, 0x3A3A,      0,      0,      0,      0,      0,      0, /* 0x40 */
686         0,      0,      0, 0x3A3B, 0x3A3C,      0,      0,      0, /* 0x40 */
687         0,      0, 0x3A3D,      0,      0,      0, 0x3A3E,      0, /* 0x50 */
688         0,      0,      0,      0,      0,      0, 0x3A3F,      0, /* 0x50 */
689         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
690    0x3A40,      0,      0,      0,      0,      0, 0x3A41, 0x3A42, /* 0x60 */
691         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
692         0,      0,      0,      0, 0x3A43, 0x3A44, 0x3A45, 0x3A46, /* 0x70 */
693         0, 0x3A47,      0,      0, 0x3A48,      0, 0x3A49,      0, /* 0x80 */
694         0,      0, 0x3A4A,      0,      0,      0, 0x3A4B,      0, /* 0x80 */
695    0x3A4C, 0x3A4D,      0, 0x3A4E, 0x3A4F,      0, 0x3A50,      0, /* 0x90 */
696         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
697         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
698    0x3A51, 0x3A52,      0,      0, 0x3A53, 0x3A54,      0, 0x3A55, /* 0xA0 */
699         0, 0x3A56, 0x3A57,      0,      0,      0,      0, 0x3A58, /* 0xB0 */
700         0,      0, 0x3A59,      0, 0x3A5A,      0,      0,      0, /* 0xB0 */
701    0x3A5B, 0x3A5C,      0,      0,      0,      0,      0,      0, /* 0xC0 */
702         0,      0,      0,      0,      0, 0x3A5D,      0, 0x3A5E, /* 0xC0 */
703         0,      0,      0,      0,      0,      0, 0x3A5F, 0x3A60, /* 0xD0 */
704    0x3A61, 0x3A62, 0x3A63,      0,      0,      0,      0,      0, /* 0xD0 */
705    0x3A64,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
706         0,      0,      0,      0,      0,      0,      0, 0x3A65, /* 0xE0 */
707         0, 0x3A66,      0,      0, 0x3A67,      0,      0,      0, /* 0xF0 */
708         0,      0,      0,      0,      0, 0x3A68                  /* 0xF0 */
709};
710
711/* ----------------------------------------------------------------------- */
712
713static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5C[] =
714{
715/*       0       1       2       3       4       5       6       7 */
716/*       8       9       A       B       C       D       E       F */
717                                                                    /* 0x00 */
718                                    0x3A69,      0,      0,      0, /* 0x00 */
719         0,      0,      0,      0,      0,      0,      0, 0x3A6A, /* 0x10 */
720         0,      0,      0,      0,      0,      0, 0x3A6B, 0x3A6C, /* 0x10 */
721         0,      0,      0, 0x3A6D,      0,      0, 0x3A6E,      0, /* 0x20 */
722         0, 0x3A6F,      0, 0x3A70, 0x3A71,      0, 0x3A72,      0, /* 0x20 */
723    0x3A73,      0, 0x3A74,      0,      0, 0x3A75, 0x3A76,      0, /* 0x30 */
724         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
725         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
726         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
727         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
728         0, 0x3A77, 0x3A78,      0, 0x3A79,      0,      0,      0, /* 0x50 */
729         0,      0, 0x3A7A, 0x3A7B,      0,      0,      0, 0x3A7C, /* 0x60 */
730    0x3A7D, 0x3A7E,      0,      0,      0, 0x3B21,      0,      0, /* 0x60 */
731    0x3B22,      0,      0,      0, 0x3B23, 0x3B24,      0,      0, /* 0x70 */
732         0,      0, 0x3B25, 0x3B26, 0x3B27, 0x3B28,      0,      0, /* 0x70 */
733         0,      0,      0,      0,      0,      0,      0, 0x3B29, /* 0x80 */
734    0x3B2A,      0, 0x3B2B,      0,      0,      0,      0, 0x3B2C, /* 0x80 */
735         0,      0, 0x3B2D,      0,      0,      0,      0,      0, /* 0x90 */
736         0,      0,      0,      0,      0, 0x3B2E,      0, 0x3B2F, /* 0x90 */
737    0x3B30,      0, 0x3B31, 0x3B32,      0,      0, 0x3B33,      0, /* 0xA0 */
738         0,      0, 0x3B34,      0,      0,      0,      0,      0, /* 0xA0 */
739         0,      0, 0x3B35,      0, 0x3B36, 0x3B37,      0,      0, /* 0xB0 */
740         0,      0, 0x3B38,      0,      0,      0,      0,      0, /* 0xB0 */
741         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
742         0, 0x3B39,      0, 0x3B3A,      0,      0,      0,      0, /* 0xC0 */
743         0,      0, 0x3B3B,      0,      0,      0,      0, 0x3B3D, /* 0xD0 */
744         0,      0,      0,      0,      0, 0x3B3C,      0,      0, /* 0xD0 */
745         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
746         0,      0,      0,      0,      0,      0, 0x3B3E,      0, /* 0xE0 */
747         0, 0x3B3F, 0x3B40,      0, 0x3B41                          /* 0xF0 */
748                                                                    /* 0xF0 */
749};
750
751/* ----------------------------------------------------------------------- */
752
753static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5D[] =
754{
755/*       0       1       2       3       4       5       6       7 */
756/*       8       9       A       B       C       D       E       F */
757            0x3B42,      0,      0,      0,      0, 0x3B43,      0, /* 0x00 */
758         0,      0,      0,      0,      0, 0x3B44,      0,      0, /* 0x00 */
759         0,      0, 0x3B45,      0,      0,      0,      0,      0, /* 0x10 */
760         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
761         0,      0,      0, 0x3B47, 0x3B48,      0, 0x3B49, 0x3B4A, /* 0x20 */
762         0,      0,      0, 0x3B46,      0,      0,      0,      0, /* 0x20 */
763         0, 0x3B4B,      0,      0, 0x3B4C,      0,      0,      0, /* 0x30 */
764         0, 0x3B4D,      0,      0,      0, 0x3B4E,      0, 0x3B4F, /* 0x30 */
765         0,      0, 0x3B50, 0x3B51,      0,      0, 0x3B52,      0, /* 0x40 */
766    0x3B53,      0, 0x3B57,      0,      0,      0,      0,      0, /* 0x40 */
767         0, 0x3B55,      0,      0,      0, 0x3B54,      0,      0, /* 0x50 */
768         0, 0x3B56,      0,      0,      0,      0,      0, 0x3B58, /* 0x50 */
769    0x3B59, 0x3B5A, 0x3B5B,      0, 0x3B5C,      0,      0,      0, /* 0x60 */
770         0,      0, 0x3B5D,      0,      0, 0x3B5E,      0,      0, /* 0x60 */
771    0x3B5F,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
772         0, 0x3B60, 0x3B61,      0,      0,      0, 0x3B62, 0x3B63, /* 0x70 */
773         0, 0x3B64,      0, 0x3B65,      0,      0,      0,      0, /* 0x80 */
774    0x3B66,      0, 0x3B67,      0,      0,      0,      0,      0, /* 0x80 */
775         0,      0, 0x3B68, 0x3B69, 0x3B6A, 0x3B6B,      0,      0, /* 0x90 */
776         0, 0x3B6C,      0, 0x3B6D,      0,      0,      0, 0x3B6E, /* 0x90 */
777    0x3B6F,      0,      0,      0,      0,      0,      0, 0x3B70, /* 0xA0 */
778         0,      0,      0, 0x3B71,      0,      0,      0,      0, /* 0xA0 */
779    0x3B72,      0, 0x6674,      0, 0x3B73,      0,      0,      0, /* 0xB0 */
780    0x3B74, 0x3B75,      0,      0,      0,      0,      0,      0, /* 0xB0 */
781         0,      0,      0, 0x3B76,      0,      0,      0, 0x3B77, /* 0xC0 */
782         0,      0,      0, 0x3B78,      0,      0, 0x3B7A,      0, /* 0xC0 */
783    0x3B79,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
784    0x3B7B, 0x3B7C,      0,      0,      0,      0,      0,      0, /* 0xD0 */
785    0x3B7D,      0,      0,      0, 0x3B7E,      0,      0,      0, /* 0xE0 */
786         0, 0x3C21,      0,      0,      0,      0,      0,      0, /* 0xE0 */
787         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
788    0x3C22, 0x3C23                                                  /* 0xF0 */
789};
790
791/* ----------------------------------------------------------------------- */
792
793static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5E[] =
794{
795/*       0       1       2       3       4       5       6       7 */
796/*       8       9       A       B       C       D       E       F */
797    0x3C24,      0,      0,      0,      0,      0,      0, 0x3C25, /* 0x00 */
798         0,      0,      0,      0,      0, 0x3C26,      0,      0, /* 0x00 */
799         0,      0, 0x3C27,      0, 0x3C28, 0x3C29,      0,      0, /* 0x10 */
800    0x3C2A,      0,      0,      0,      0,      0,      0, 0x3C2B, /* 0x10 */
801    0x3C2C,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
802    0x3C2E,      0,      0,      0,      0,      0, 0x3C2D,      0, /* 0x20 */
803         0,      0, 0x3C2F,      0,      0, 0x3C30,      0,      0, /* 0x30 */
804         0,      0,      0,      0,      0,      0, 0x3C31,      0, /* 0x30 */
805         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
806         0, 0x3C34,      0, 0x3C32,      0,      0,      0,      0, /* 0x40 */
807    0x3C33, 0x3C35,      0,      0,      0,      0, 0x3C36,      0, /* 0x50 */
808    0x3C37,      0,      0, 0x3C38, 0x3C39,      0, 0x3C3A,      0, /* 0x50 */
809         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
810    0x3C3B,      0, 0x3C3C, 0x3C3D, 0x3C3E, 0x3C3F, 0x3C40,      0, /* 0x60 */
811    0x3C41,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
812         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
813    0x3C42,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
814         0,      0,      0, 0x3C43,      0,      0, 0x3C44,      0, /* 0x80 */
815         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
816         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
817         0,      0, 0x3C45,      0, 0x3C46, 0x3C47,      0,      0, /* 0xA0 */
818    0x3C48,      0, 0x3C49,      0, 0x3C4A,      0,      0,      0, /* 0xA0 */
819         0, 0x3C4B,      0, 0x3C4C,      0,      0,      0,      0, /* 0xB0 */
820         0,      0,      0,      0,      0, 0x3C4D, 0x3C4E, 0x3C4F, /* 0xB0 */
821         0,      0,      0,      0,      0,      0, 0x3C50,      0, /* 0xC0 */
822         0,      0,      0, 0x3C52, 0x3C51,      0, 0x3C53,      0, /* 0xC0 */
823         0, 0x3C54, 0x3C55,      0, 0x3C56, 0x3C57,      0,      0, /* 0xD0 */
824         0,      0,      0,      0, 0x3C58,      0, 0x3C59,      0, /* 0xD0 */
825         0,      0,      0,      0,      0, 0x3C5A,      0,      0, /* 0xE0 */
826         0,      0,      0, 0x3C5B                                  /* 0xE0 */
827};
828
829/* ----------------------------------------------------------------------- */
830
831static sal_uInt16 const aImplUniToDBCSTab_JIS0212_5F[] =
832{
833/*       0       1       2       3       4       5       6       7 */
834/*       8       9       A       B       C       D       E       F */
835                    0x3C5C,      0,      0,      0, 0x3C5D, 0x3C5E, /* 0x00 */
836    0x3C5F,      0,      0,      0,      0,      0, 0x3C60,      0, /* 0x00 */
837         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
838         0, 0x3C61,      0,      0, 0x3C62, 0x3C63,      0,      0, /* 0x10 */
839         0, 0x3C64, 0x3C65, 0x3C66, 0x3C67,      0,      0,      0, /* 0x20 */
840    0x3C68,      0,      0, 0x3C69, 0x3C6A,      0, 0x3C6B,      0, /* 0x20 */
841    0x3C6C,      0,      0,      0, 0x3C6D,      0, 0x3C6E,      0, /* 0x30 */
842         0,      0,      0, 0x3C6F,      0, 0x3C70,      0, 0x3C71, /* 0x30 */
843    0x3C72,      0,      0,      0, 0x3C73, 0x3C74,      0, 0x3C75, /* 0x40 */
844         0,      0,      0,      0,      0, 0x3C76,      0,      0, /* 0x40 */
845    0x3C77,      0,      0,      0, 0x3C78,      0,      0,      0, /* 0x50 */
846    0x3C79,      0,      0, 0x3C7A,      0,      0,      0,      0, /* 0x50 */
847    0x3C7B,      0,      0, 0x3C7C, 0x3C7D,      0,      0, 0x3C7E, /* 0x60 */
848         0,      0,      0,      0,      0,      0,      0, 0x3D21, /* 0x60 */
849         0,      0, 0x3D22,      0, 0x3D23, 0x3D24,      0,      0, /* 0x70 */
850    0x3D25,      0, 0x3D26,      0,      0, 0x3D27, 0x3D28,      0, /* 0x70 */
851         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
852         0, 0x3D29,      0,      0,      0, 0x3D2A,      0, 0x3D2B, /* 0x80 */
853         0,      0,      0,      0,      0,      0, 0x3D2C,      0, /* 0x90 */
854         0,      0,      0,      0, 0x3D2D, 0x3D2E,      0,      0, /* 0x90 */
855         0,      0, 0x3D2F,      0, 0x3D32,      0,      0, 0x3D30, /* 0xA0 */
856         0,      0,      0, 0x3D31, 0x3D33,      0,      0, 0x3D34, /* 0xA0 */
857    0x3D35, 0x3D36,      0,      0,      0,      0,      0,      0, /* 0xB0 */
858    0x3D37,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
859         0,      0,      0,      0, 0x3D38,      0,      0, 0x3D39, /* 0xC0 */
860    0x3D3A, 0x3D3B,      0, 0x3D3C,      0,      0,      0,      0, /* 0xC0 */
861    0x3D3D, 0x3D3E, 0x3D3F, 0x3D40, 0x3D41,      0,      0,      0, /* 0xD0 */
862         0,      0,      0,      0,      0,      0, 0x3D42,      0, /* 0xD0 */
863         0, 0x3D43, 0x3D44,      0,      0,      0,      0,      0, /* 0xE0 */
864    0x3D45, 0x3D46, 0x3D47,      0, 0x3D48, 0x3D49, 0x3D4A, 0x3D4B, /* 0xE0 */
865         0,      0, 0x3D4C, 0x3D4D,      0,      0, 0x3D4E,      0, /* 0xF0 */
866         0,      0, 0x3D4F,      0, 0x3D50                          /* 0xF0 */
867};
868
869/* ----------------------------------------------------------------------- */
870
871static sal_uInt16 const aImplUniToDBCSTab_JIS0212_60[] =
872{
873/*       0       1       2       3       4       5       6       7 */
874/*       8       9       A       B       C       D       E       F */
875                                                            0x3D51, /* 0x00 */
876         0,      0, 0x3D52,      0,      0, 0x3D53,      0,      0, /* 0x00 */
877         0,      0,      0, 0x3D54, 0x3D55,      0,      0, 0x3D56, /* 0x10 */
878    0x3D57,      0, 0x3D58,      0,      0,      0,      0, 0x3D59, /* 0x10 */
879         0,      0,      0,      0, 0x3D5A,      0,      0,      0, /* 0x20 */
880         0,      0,      0,      0,      0, 0x3D5B,      0,      0, /* 0x20 */
881         0,      0,      0, 0x3D5C,      0, 0x3D5D,      0,      0, /* 0x30 */
882         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
883    0x3D5E,      0,      0,      0,      0,      0,      0, 0x3D5F, /* 0x40 */
884    0x3D60, 0x3D61,      0,      0, 0x3D62,      0,      0,      0, /* 0x40 */
885         0, 0x3D63,      0,      0, 0x3D64,      0, 0x3D65, 0x3D66, /* 0x50 */
886         0,      0,      0,      0,      0, 0x3D67,      0,      0, /* 0x50 */
887         0, 0x3D68,      0,      0,      0,      0,      0, 0x3D69, /* 0x60 */
888         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
889         0, 0x3D6A,      0,      0,      0,      0,      0,      0, /* 0x70 */
890         0,      0,      0,      0,      0,      0, 0x3D6B, 0x3D6C, /* 0x70 */
891         0,      0, 0x3D6D,      0,      0,      0, 0x3D6E,      0, /* 0x80 */
892    0x3D6F,      0, 0x3D70,      0,      0,      0, 0x3D71,      0, /* 0x80 */
893         0, 0x3D72,      0, 0x3D73,      0, 0x3D74,      0,      0, /* 0x90 */
894    0x3D75,      0,      0,      0,      0, 0x3D76, 0x3D77,      0, /* 0x90 */
895         0,      0, 0x3D78,      0, 0x3D79, 0x3D7A,      0,      0, /* 0xA0 */
896    0x3D7B,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
897    0x3D7C, 0x3D7D,      0,      0,      0,      0,      0, 0x3D7E, /* 0xB0 */
898         0,      0,      0, 0x3E21,      0,      0, 0x3E22,      0, /* 0xB0 */
899         0,      0, 0x3E23,      0, 0x3E24,      0,      0,      0, /* 0xC0 */
900    0x3E25, 0x3E26, 0x3E27, 0x3E28,      0,      0, 0x3E29, 0x3E2A, /* 0xC0 */
901         0,      0,      0,      0, 0x3E2B, 0x3E2C,      0,      0, /* 0xD0 */
902         0, 0x3E2D,      0, 0x3E2E,      0, 0x3E2F, 0x3E30,      0, /* 0xD0 */
903         0,      0, 0x3E31,      0,      0, 0x3E32,      0,      0, /* 0xE0 */
904         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
905         0,      0, 0x3E33,      0,      0, 0x3E34,      0,      0, /* 0xF0 */
906    0x3E35,      0,      0,      0, 0x3E36, 0x3E37                  /* 0xF0 */
907};
908
909/* ----------------------------------------------------------------------- */
910
911static sal_uInt16 const aImplUniToDBCSTab_JIS0212_61[] =
912{
913/*       0       1       2       3       4       5       6       7 */
914/*       8       9       A       B       C       D       E       F */
915                    0x3E38,      0,      0,      0,      0, 0x3E39, /* 0x00 */
916         0,      0, 0x3E3A,      0, 0x3E3B,      0,      0,      0, /* 0x00 */
917    0x3E3C, 0x3E3D, 0x3E3E, 0x3E3F, 0x3E40,      0, 0x3E41, 0x3E42, /* 0x10 */
918         0, 0x3E43,      0,      0, 0x3E44,      0, 0x3E45,      0, /* 0x10 */
919         0,      0, 0x3E46,      0,      0,      0,      0,      0, /* 0x20 */
920         0,      0, 0x3E47, 0x3E48,      0,      0,      0,      0, /* 0x20 */
921    0x3E49, 0x3E4A,      0,      0,      0, 0x3E4B, 0x3E4C, 0x3E4D, /* 0x30 */
922         0, 0x3E4E,      0,      0,      0,      0,      0,      0, /* 0x30 */
923         0, 0x3E4F,      0,      0,      0, 0x3E50, 0x3E51,      0, /* 0x40 */
924         0, 0x3E52,      0,      0,      0,      0,      0,      0, /* 0x40 */
925         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
926         0,      0,      0,      0,      0,      0, 0x3E53,      0, /* 0x50 */
927    0x3E54,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
928         0,      0,      0,      0, 0x3E55,      0,      0,      0, /* 0x60 */
929         0,      0, 0x3E56,      0,      0,      0,      0,      0, /* 0x70 */
930    0x3E57,      0,      0, 0x3E58, 0x3E59,      0,      0, 0x3E5A, /* 0x70 */
931    0x3E5B, 0x3E5C,      0, 0x3E5D, 0x3E5E,      0,      0,      0, /* 0x80 */
932         0,      0,      0, 0x3E5F,      0, 0x3E60,      0,      0, /* 0x80 */
933         0,      0, 0x3E61, 0x3E62,      0,      0,      0, 0x3E63, /* 0x90 */
934    0x3E64,      0,      0,      0, 0x3E65, 0x3E66,      0, 0x3E67, /* 0x90 */
935    0x3E68,      0,      0,      0,      0, 0x3E69,      0,      0, /* 0xA0 */
936    0x3E6A,      0, 0x3E6B,      0,      0, 0x3E6C,      0,      0, /* 0xA0 */
937         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
938    0x3E6D, 0x3E6E,      0,      0, 0x3E6F,      0,      0,      0, /* 0xB0 */
939    0x3E70, 0x3E71, 0x3E72,      0,      0,      0,      0,      0, /* 0xC0 */
940         0,      0,      0,      0,      0,      0, 0x3E73, 0x3E74, /* 0xC0 */
941         0,      0,      0,      0,      0, 0x3E75,      0,      0, /* 0xD0 */
942         0,      0,      0,      0, 0x3E76, 0x3E77, 0x3E78, 0x3E79, /* 0xD0 */
943         0, 0x3E7A, 0x3E7B,      0,      0, 0x3E7E,      0, 0x3E7C, /* 0xE0 */
944         0, 0x3E7D,      0,      0, 0x3F21, 0x3F22,      0, 0x3F23  /* 0xE0 */
945};
946
947/* ----------------------------------------------------------------------- */
948
949static sal_uInt16 const aImplUniToDBCSTab_JIS0212_62[] =
950{
951/*       0       1       2       3       4       5       6       7 */
952/*       8       9       A       B       C       D       E       F */
953            0x3F24,      0, 0x3F25, 0x3F26,      0,      0, 0x3F27, /* 0x00 */
954         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
955         0,      0,      0, 0x3F28,      0, 0x3F29,      0,      0, /* 0x10 */
956         0,      0,      0,      0, 0x3F2A,      0,      0,      0, /* 0x10 */
957    0x3F2B,      0, 0x3F2C, 0x3F2D,      0,      0,      0, 0x3F2E, /* 0x20 */
958         0, 0x3F2F,      0, 0x3F30,      0,      0,      0,      0, /* 0x20 */
959         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
960         0, 0x3F31,      0,      0,      0, 0x3F32,      0,      0, /* 0x30 */
961         0,      0, 0x3F33, 0x3F34, 0x3F35,      0, 0x3F36,      0, /* 0x40 */
962         0,      0,      0,      0, 0x3F37,      0,      0,      0, /* 0x40 */
963    0x3F38, 0x3F39, 0x3F3A,      0, 0x3F3B,      0, 0x3F3C,      0, /* 0x50 */
964         0,      0, 0x3F3D,      0, 0x3F3E,      0,      0,      0, /* 0x50 */
965         0,      0,      0,      0, 0x3F3F,      0,      0,      0, /* 0x60 */
966         0,      0,      0,      0,      0, 0x3F40,      0, 0x3F41, /* 0x60 */
967         0,      0,      0, 0x3F42,      0,      0,      0,      0, /* 0x70 */
968         0,      0, 0x3F43,      0,      0, 0x3F44,      0,      0, /* 0x70 */
969         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
970         0,      0,      0,      0,      0, 0x3F45, 0x3F46, 0x3F47, /* 0x80 */
971    0x3F48,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
972         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
973         0,      0,      0,      0,      0,      0, 0x3F49,      0, /* 0xA0 */
974    0x3F4A,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
975         0,      0,      0, 0x3F4B,      0,      0, 0x3F4C, 0x3F4D, /* 0xB0 */
976         0,      0, 0x3F4E,      0,      0,      0, 0x3F4F, 0x3F50, /* 0xB0 */
977         0,      0,      0,      0, 0x3F51,      0,      0,      0, /* 0xC0 */
978         0,      0,      0,      0,      0,      0, 0x3F52,      0, /* 0xC0 */
979         0,      0,      0,      0,      0, 0x3F53, 0x3F54,      0, /* 0xD0 */
980         0,      0, 0x3F55,      0,      0,      0,      0,      0, /* 0xD0 */
981         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
982         0,      0, 0x3F56,      0,      0,      0,      0,      0, /* 0xE0 */
983         0,      0, 0x3F57,      0, 0x3F58,      0,      0,      0, /* 0xF0 */
984         0,      0,      0,      0, 0x3F59, 0x3F5A                  /* 0xF0 */
985};
986
987/* ----------------------------------------------------------------------- */
988
989static sal_uInt16 const aImplUniToDBCSTab_JIS0212_63[] =
990{
991/*       0       1       2       3       4       5       6       7 */
992/*       8       9       A       B       C       D       E       F */
993                            0x3F5B, 0x3F5C,      0,      0,      0, /* 0x00 */
994         0,      0, 0x3F5D, 0x3F5E,      0, 0x3F5F,      0,      0, /* 0x00 */
995    0x3F60,      0,      0, 0x3F61,      0,      0, 0x3F62,      0, /* 0x10 */
996    0x3F63,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
997         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
998         0, 0x3F64, 0x3F65,      0,      0, 0x3F66,      0,      0, /* 0x20 */
999         0,      0,      0,      0,      0, 0x3F67, 0x3F68,      0, /* 0x30 */
1000         0, 0x3F69,      0,      0, 0x3F6A,      0,      0,      0, /* 0x30 */
1001         0, 0x3F6B, 0x3F6C, 0x3F6D, 0x3F6E,      0, 0x3F6F,      0, /* 0x40 */
1002         0,      0, 0x3F70, 0x3F71,      0,      0, 0x3F72,      0, /* 0x40 */
1003         0,      0, 0x3F73, 0x3F74, 0x3F75,      0,      0,      0, /* 0x50 */
1004    0x3F76,      0,      0, 0x3F77,      0,      0,      0,      0, /* 0x50 */
1005         0,      0,      0,      0,      0, 0x3F78, 0x3F79,      0, /* 0x60 */
1006         0,      0,      0,      0, 0x3F7A, 0x3F7B,      0,      0, /* 0x60 */
1007         0, 0x3F7C,      0,      0, 0x3F7D, 0x3F7E,      0,      0, /* 0x70 */
1008    0x4021,      0,      0,      0, 0x4022, 0x4023,      0, 0x4024, /* 0x70 */
1009         0,      0, 0x4025,      0, 0x4026,      0,      0, 0x4027, /* 0x80 */
1010         0,      0, 0x4028,      0,      0,      0,      0,      0, /* 0x80 */
1011    0x4029,      0,      0,      0, 0x402A, 0x402B,      0,      0, /* 0x90 */
1012         0, 0x402C, 0x402D,      0,      0,      0, 0x402E,      0, /* 0x90 */
1013         0,      0,      0,      0, 0x402F,      0, 0x4030,      0, /* 0xA0 */
1014         0,      0,      0,      0,      0, 0x4031, 0x4032, 0x4033, /* 0xA0 */
1015         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
1016         0,      0,      0,      0,      0, 0x4034,      0,      0, /* 0xB0 */
1017         0, 0x4035,      0,      0,      0, 0x4036,      0,      0, /* 0xC0 */
1018    0x4037,      0,      0,      0,      0,      0, 0x4038,      0, /* 0xC0 */
1019         0, 0x4039,      0, 0x403A, 0x403B, 0x403C,      0,      0, /* 0xD0 */
1020         0,      0,      0,      0, 0x403D,      0,      0,      0, /* 0xD0 */
1021    0x403E,      0,      0,      0,      0, 0x403F,      0,      0, /* 0xE0 */
1022         0,      0, 0x4040,      0, 0x4041,      0,      0,      0, /* 0xE0 */
1023         0,      0, 0x4042, 0x4043,      0, 0x4044,      0,      0, /* 0xF0 */
1024    0x4045, 0x4046                                                  /* 0xF0 */
1025};
1026
1027/* ----------------------------------------------------------------------- */
1028
1029static sal_uInt16 const aImplUniToDBCSTab_JIS0212_64[] =
1030{
1031/*       0       1       2       3       4       5       6       7 */
1032/*       8       9       A       B       C       D       E       F */
1033                                                                    /* 0x00 */
1034            0x4047, 0x4048,      0,      0,      0,      0,      0, /* 0x00 */
1035    0x4049,      0, 0x404A,      0, 0x404B,      0,      0,      0, /* 0x10 */
1036    0x404C,      0,      0,      0,      0,      0, 0x404D,      0, /* 0x10 */
1037    0x404E,      0, 0x404F,      0, 0x4050, 0x4051,      0,      0, /* 0x20 */
1038         0, 0x4052, 0x4053,      0,      0,      0,      0, 0x4054, /* 0x20 */
1039    0x4055,      0,      0,      0,      0, 0x4056,      0,      0, /* 0x30 */
1040         0,      0,      0,      0,      0, 0x4057,      0, 0x4058, /* 0x30 */
1041         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
1042         0,      0,      0, 0x4059,      0,      0,      0, 0x405A, /* 0x40 */
1043         0, 0x405B, 0x405C, 0x405D, 0x405E,      0,      0,      0, /* 0x50 */
1044         0,      0, 0x405F, 0x4060, 0x4061, 0x4062,      0, 0x4063, /* 0x50 */
1045    0x4064, 0x4065,      0, 0x4066,      0,      0,      0,      0, /* 0x60 */
1046         0,      0,      0,      0,      0, 0x4067,      0,      0, /* 0x60 */
1047         0,      0,      0, 0x4068, 0x4069,      0,      0,      0, /* 0x70 */
1048         0,      0,      0, 0x406A,      0, 0x406B,      0,      0, /* 0x70 */
1049         0,      0,      0,      0,      0, 0x406C,      0, 0x406D, /* 0x80 */
1050         0,      0,      0,      0,      0,      0,      0, 0x406E, /* 0x80 */
1051    0x406F, 0x4070,      0,      0,      0,      0,      0,      0, /* 0x90 */
1052    0x4071, 0x4072,      0, 0x4073,      0, 0x4074,      0, 0x4075, /* 0x90 */
1053         0, 0x4076,      0, 0x4077,      0,      0, 0x4078,      0, /* 0xA0 */
1054    0x4079,      0,      0,      0, 0x407A,      0,      0,      0, /* 0xA0 */
1055         0,      0,      0, 0x407B,      0,      0,      0,      0, /* 0xB0 */
1056         0,      0,      0,      0,      0, 0x407C, 0x407D, 0x407E, /* 0xB0 */
1057         0,      0,      0,      0, 0x4121,      0,      0,      0, /* 0xC0 */
1058         0, 0x4122, 0x4123, 0x4124, 0x4125,      0, 0x4126,      0, /* 0xC0 */
1059    0x4127, 0x4128,      0,      0,      0, 0x4129,      0, 0x412A, /* 0xD0 */
1060         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1061         0,      0,      0,      0, 0x412B, 0x412C,      0,      0, /* 0xE0 */
1062         0, 0x412D, 0x412E,      0,      0, 0x412F,      0,      0, /* 0xE0 */
1063    0x4130,      0,      0,      0,      0, 0x4131,      0, 0x4132, /* 0xF0 */
1064         0,      0,      0, 0x4133,      0,      0,      0, 0x4134  /* 0xF0 */
1065};
1066
1067/* ----------------------------------------------------------------------- */
1068
1069static sal_uInt16 const aImplUniToDBCSTab_JIS0212_65[] =
1070{
1071/*       0       1       2       3       4       5       6       7 */
1072/*       8       9       A       B       C       D       E       F */
1073            0x4135,      0,      0, 0x4136,      0,      0,      0, /* 0x00 */
1074    0x4137, 0x4138, 0x4139,      0,      0,      0,      0, 0x413A, /* 0x00 */
1075         0,      0,      0, 0x413B, 0x413C,      0, 0x413D,      0, /* 0x10 */
1076         0, 0x413E,      0, 0x413F,      0,      0, 0x4140, 0x4141, /* 0x10 */
1077         0,      0, 0x4142,      0,      0,      0, 0x4143,      0, /* 0x20 */
1078         0, 0x4144,      0,      0,      0,      0, 0x4145,      0, /* 0x20 */
1079         0, 0x4146,      0,      0,      0,      0,      0,      0, /* 0x30 */
1080         0,      0, 0x4147,      0, 0x4148, 0x4149,      0,      0, /* 0x30 */
1081         0,      0,      0, 0x414A,      0,      0,      0, 0x414B, /* 0x40 */
1082         0, 0x414C,      0,      0,      0,      0,      0,      0, /* 0x40 */
1083    0x414D,      0, 0x414E,      0, 0x414F,      0,      0,      0, /* 0x50 */
1084         0,      0,      0,      0,      0,      0,      0, 0x4150, /* 0x50 */
1085    0x4151,      0,      0,      0,      0,      0,      0, 0x4152, /* 0x60 */
1086         0,      0,      0, 0x4153,      0,      0,      0,      0, /* 0x60 */
1087         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1088         0,      0, 0x4154,      0,      0, 0x4155,      0,      0, /* 0x70 */
1089         0, 0x4156,      0,      0,      0, 0x4157,      0,      0, /* 0x80 */
1090         0,      0, 0x4158,      0,      0,      0,      0,      0, /* 0x80 */
1091         0,      0, 0x4159,      0,      0, 0x415A,      0,      0, /* 0x90 */
1092    0x415B,      0,      0,      0,      0, 0x415C,      0,      0, /* 0x90 */
1093    0x415D,      0,      0, 0x415E,      0,      0, 0x415F,      0, /* 0xA0 */
1094         0,      0,      0,      0,      0,      0, 0x4160,      0, /* 0xA0 */
1095         0,      0, 0x4161, 0x4162, 0x4163,      0,      0,      0, /* 0xB0 */
1096         0,      0,      0,      0,      0,      0,      0, 0x4164, /* 0xB0 */
1097         0,      0, 0x4165,      0,      0,      0,      0,      0, /* 0xC0 */
1098    0x4166, 0x4167,      0,      0,      0,      0, 0x4168,      0, /* 0xC0 */
1099    0x4169,      0,      0,      0, 0x416A,      0, 0x416B,      0, /* 0xD0 */
1100    0x416C,      0,      0,      0,      0,      0,      0, 0x416D, /* 0xD0 */
1101         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1102         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1103    0x416E,      0, 0x416F,      0, 0x4170, 0x4171,      0,      0, /* 0xF0 */
1104         0, 0x4172,      0,      0,      0,      0, 0x4173, 0x4174  /* 0xF0 */
1105};
1106
1107/* ----------------------------------------------------------------------- */
1108
1109static sal_uInt16 const aImplUniToDBCSTab_JIS0212_66[] =
1110{
1111/*       0       1       2       3       4       5       6       7 */
1112/*       8       9       A       B       C       D       E       F */
1113    0x4175,      0,      0,      0, 0x4176,      0,      0,      0, /* 0x00 */
1114    0x4177, 0x4178,      0,      0,      0, 0x4179,      0,      0, /* 0x00 */
1115         0, 0x417A, 0x417B,      0,      0, 0x417C, 0x417D,      0, /* 0x10 */
1116         0,      0,      0,      0,      0, 0x417E, 0x4221,      0, /* 0x10 */
1117         0, 0x4222, 0x4223, 0x4224, 0x4225,      0, 0x4226,      0, /* 0x20 */
1118         0, 0x4227, 0x4228, 0x4229, 0x422A,      0, 0x422B,      0, /* 0x20 */
1119    0x422C, 0x422D,      0, 0x422E,      0,      0,      0, 0x4230, /* 0x30 */
1120         0, 0x422F,      0,      0,      0,      0,      0,      0, /* 0x30 */
1121    0x4231,      0,      0,      0,      0, 0x4232, 0x4233,      0, /* 0x40 */
1122         0,      0, 0x4234,      0, 0x4235,      0, 0x4237,      0, /* 0x40 */
1123         0, 0x4236,      0,      0,      0,      0,      0, 0x4238, /* 0x50 */
1124    0x4239, 0x423A,      0, 0x423B, 0x423C,      0,      0,      0, /* 0x50 */
1125    0x423D, 0x423E,      0,      0,      0,      0,      0,      0, /* 0x60 */
1126         0,      0, 0x4240, 0x4241, 0x4242,      0,      0,      0, /* 0x60 */
1127         0,      0,      0, 0x4244,      0, 0x4245,      0, 0x4247, /* 0x70 */
1128    0x4248, 0x4249,      0, 0x424A, 0x424C,      0, 0x4243, 0x4246, /* 0x70 */
1129    0x424B,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1130         0,      0,      0, 0x424D, 0x424E, 0x424F,      0,      0, /* 0x80 */
1131    0x4250,      0, 0x4251,      0,      0,      0,      0,      0, /* 0x90 */
1132         0, 0x4252, 0x4253, 0x4254, 0x4255,      0,      0, 0x4256, /* 0x90 */
1133    0x4257,      0,      0,      0, 0x4258,      0,      0,      0, /* 0xA0 */
1134         0,      0,      0,      0,      0, 0x4259,      0,      0, /* 0xA0 */
1135         0, 0x425A, 0x425B,      0,      0, 0x425C,      0,      0, /* 0xB0 */
1136         0,      0,      0, 0x425D,      0,      0,      0, 0x425E, /* 0xB0 */
1137    0x425F,      0, 0x4260, 0x4261,      0,      0,      0,      0, /* 0xC0 */
1138    0x4262,      0,      0,      0, 0x4263,      0, 0x4264, 0x4265, /* 0xC0 */
1139         0,      0,      0,      0, 0x4266,      0,      0,      0, /* 0xD0 */
1140         0,      0,      0, 0x4267,      0,      0,      0, 0x4268, /* 0xD0 */
1141         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1142    0x4269,      0,      0, 0x426A, 0x426B,      0, 0x426C,      0, /* 0xE0 */
1143         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1144         0,      0, 0x426D, 0x423F                                  /* 0xF0 */
1145};
1146
1147/* ----------------------------------------------------------------------- */
1148
1149static sal_uInt16 const aImplUniToDBCSTab_JIS0212_67[] =
1150{
1151/*       0       1       2       3       4       5       6       7 */
1152/*       8       9       A       B       C       D       E       F */
1153                                            0x426E,      0, 0x426F, /* 0x00 */
1154         0,      0,      0,      0,      0,      0, 0x4270,      0, /* 0x00 */
1155         0,      0,      0, 0x4271,      0,      0,      0,      0, /* 0x10 */
1156         0, 0x4272,      0,      0, 0x4273,      0,      0,      0, /* 0x10 */
1157    0x4274,      0, 0x4275,      0,      0,      0,      0,      0, /* 0x20 */
1158         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1159         0,      0,      0, 0x4276,      0,      0,      0,      0, /* 0x30 */
1160         0,      0,      0,      0,      0,      0, 0x4277,      0, /* 0x30 */
1161         0,      0,      0,      0,      0, 0x4278,      0, 0x4279, /* 0x40 */
1162    0x427A,      0,      0,      0, 0x427B,      0,      0,      0, /* 0x40 */
1163         0,      0,      0,      0, 0x427C, 0x427D,      0,      0, /* 0x50 */
1164         0,      0,      0,      0,      0, 0x427E,      0,      0, /* 0x50 */
1165         0,      0,      0,      0,      0,      0, 0x4321,      0, /* 0x60 */
1166         0,      0,      0,      0, 0x4322,      0, 0x4323,      0, /* 0x60 */
1167         0,      0,      0,      0, 0x4324,      0, 0x4325,      0, /* 0x70 */
1168         0,      0,      0, 0x4326,      0,      0,      0,      0, /* 0x70 */
1169         0, 0x4327,      0,      0, 0x4328,      0,      0,      0, /* 0x80 */
1170         0,      0,      0,      0,      0,      0, 0x4329, 0x432A, /* 0x80 */
1171         0, 0x432B,      0, 0x432C,      0,      0, 0x432D,      0, /* 0x90 */
1172    0x432E, 0x432F,      0, 0x4330,      0,      0,      0,      0, /* 0x90 */
1173         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1174         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1175    0x4331, 0x4332, 0x4333,      0,      0, 0x4334,      0,      0, /* 0xB0 */
1176         0,      0,      0, 0x4335, 0x4336, 0x4337,      0,      0, /* 0xB0 */
1177    0x4339,      0, 0x433A, 0x433B,      0, 0x433C,      0,      0, /* 0xC0 */
1178    0x433D, 0x433E,      0,      0,      0,      0,      0,      0, /* 0xC0 */
1179         0,      0, 0x433F,      0,      0,      0,      0, 0x4340, /* 0xD0 */
1180         0, 0x4341,      0,      0, 0x4342,      0,      0,      0, /* 0xD0 */
1181         0, 0x4343,      0,      0,      0,      0, 0x4344,      0, /* 0xE0 */
1182         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1183    0x4345,      0, 0x4346,      0,      0,      0, 0x4347, 0x4348, /* 0xF0 */
1184         0, 0x4338                                                  /* 0xF0 */
1185};
1186
1187/* ----------------------------------------------------------------------- */
1188
1189static sal_uInt16 const aImplUniToDBCSTab_JIS0212_68[] =
1190{
1191/*       0       1       2       3       4       5       6       7 */
1192/*       8       9       A       B       C       D       E       F */
1193                                    0x434A,      0,      0,      0, /* 0x10 */
1194         0, 0x434B,      0,      0,      0, 0x434C,      0, 0x434D, /* 0x10 */
1195         0,      0,      0,      0,      0,      0,      0, 0x434F, /* 0x20 */
1196    0x434E,      0,      0,      0, 0x4350, 0x4351,      0, 0x4352, /* 0x20 */
1197    0x4353, 0x4354,      0, 0x4355,      0,      0,      0,      0, /* 0x30 */
1198         0,      0,      0, 0x4356,      0,      0,      0, 0x4357, /* 0x30 */
1199         0,      0,      0,      0, 0x4358, 0x4359,      0,      0, /* 0x40 */
1200         0,      0, 0x435A,      0, 0x435B,      0,      0,      0, /* 0x40 */
1201         0,      0, 0x4349,      0,      0, 0x435C,      0, 0x435D, /* 0x50 */
1202    0x435E,      0,      0, 0x435F,      0,      0,      0,      0, /* 0x50 */
1203         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
1204         0,      0,      0, 0x4360,      0,      0, 0x4361, 0x4362, /* 0x60 */
1205    0x4363, 0x4364, 0x4365,      0,      0, 0x4366,      0,      0, /* 0x70 */
1206         0, 0x4367, 0x4368, 0x4369, 0x436A,      0,      0,      0, /* 0x70 */
1207         0,      0, 0x436B,      0, 0x436C,      0, 0x436D,      0, /* 0x80 */
1208    0x436E,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1209         0,      0,      0,      0,      0,      0, 0x436F,      0, /* 0x90 */
1210    0x4370,      0, 0x4371,      0, 0x4372,      0,      0,      0, /* 0x90 */
1211         0, 0x4373,      0, 0x4374,      0, 0x4375,      0,      0, /* 0xA0 */
1212         0, 0x4376, 0x4377,      0,      0,      0, 0x4378,      0, /* 0xA0 */
1213         0,      0, 0x4379,      0,      0,      0,      0,      0, /* 0xB0 */
1214         0,      0,      0, 0x437A,      0,      0,      0,      0, /* 0xB0 */
1215         0,      0,      0,      0,      0, 0x437B,      0,      0, /* 0xC0 */
1216    0x437C,      0,      0,      0, 0x437D,      0,      0, 0x437E, /* 0xC0 */
1217    0x4421, 0x4422,      0, 0x4423,      0,      0, 0x4424,      0, /* 0xD0 */
1218         0, 0x4425,      0,      0, 0x4426, 0x4427,      0,      0, /* 0xD0 */
1219         0,      0,      0,      0,      0, 0x4428,      0,      0, /* 0xE0 */
1220    0x4429,      0, 0x442A, 0x442B, 0x442C, 0x442D,      0,      0, /* 0xE0 */
1221    0x442E, 0x442F,      0,      0,      0, 0x4430, 0x4431,      0, /* 0xF0 */
1222         0,      0,      0, 0x4432, 0x4433, 0x4434                  /* 0xF0 */
1223};
1224
1225/* ----------------------------------------------------------------------- */
1226
1227static sal_uInt16 const aImplUniToDBCSTab_JIS0212_69[] =
1228{
1229/*       0       1       2       3       4       5       6       7 */
1230/*       8       9       A       B       C       D       E       F */
1231                                                    0x4435,      0, /* 0x00 */
1232         0, 0x4436, 0x4437,      0,      0,      0,      0,      0, /* 0x00 */
1233    0x4438, 0x4439,      0, 0x443A,      0,      0, 0x443B, 0x443C, /* 0x10 */
1234         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1235         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1236         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1237         0, 0x443D,      0, 0x443E,      0, 0x443F,      0,      0, /* 0x30 */
1238    0x4440,      0,      0, 0x4441,      0,      0,      0,      0, /* 0x30 */
1239         0,      0, 0x4442,      0,      0, 0x4443,      0,      0, /* 0x40 */
1240         0, 0x4444,      0,      0,      0,      0, 0x4445,      0, /* 0x40 */
1241         0,      0,      0,      0,      0,      0,      0, 0x4446, /* 0x50 */
1242         0,      0,      0, 0x4447,      0,      0,      0,      0, /* 0x50 */
1243         0,      0,      0, 0x4448, 0x4449, 0x444A, 0x444B,      0, /* 0x60 */
1244    0x444C, 0x444D,      0,      0, 0x444E,      0,      0,      0, /* 0x60 */
1245    0x444F, 0x4450, 0x4451,      0,      0,      0,      0,      0, /* 0x70 */
1246         0,      0, 0x4452, 0x4453,      0,      0,      0, 0x4454, /* 0x70 */
1247    0x4455,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1248         0,      0,      0,      0,      0, 0x4456,      0,      0, /* 0x80 */
1249         0,      0, 0x4457,      0,      0,      0, 0x4458,      0, /* 0x90 */
1250    0x4459,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
1251         0, 0x445A,      0,      0,      0, 0x445B, 0x445C,      0, /* 0xA0 */
1252    0x445D,      0,      0, 0x445E,      0, 0x445F,      0, 0x4460, /* 0xA0 */
1253         0,      0,      0,      0,      0,      0,      0, 0x4461, /* 0xB0 */
1254    0x4462,      0, 0x4463,      0, 0x4464,      0,      0,      0, /* 0xB0 */
1255         0,      0,      0,      0,      0, 0x4465,      0,      0, /* 0xC0 */
1256    0x4466,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
1257         0, 0x4467,      0,      0,      0,      0, 0x4468, 0x4469, /* 0xD0 */
1258         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1259         0,      0, 0x446A,      0,      0, 0x446B,      0,      0, /* 0xE0 */
1260         0,      0,      0,      0,      0,      0, 0x446C, 0x446D, /* 0xE0 */
1261         0, 0x446E,      0, 0x446F,      0, 0x4470,      0,      0, /* 0xF0 */
1262         0,      0,      0,      0,      0,      0, 0x4471          /* 0xF0 */
1263};
1264
1265/* ----------------------------------------------------------------------- */
1266
1267static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6A[] =
1268{
1269/*       0       1       2       3       4       5       6       7 */
1270/*       8       9       A       B       C       D       E       F */
1271    0x4472, 0x4473,      0, 0x4474,      0,      0,      0,      0, /* 0x00 */
1272         0,      0,      0,      0,      0,      0,      0, 0x4475, /* 0x00 */
1273         0, 0x4476,      0,      0,      0, 0x4477,      0,      0, /* 0x10 */
1274         0,      0, 0x4478,      0,      0, 0x4479,      0,      0, /* 0x10 */
1275    0x447A,      0,      0,      0, 0x447B,      0,      0,      0, /* 0x20 */
1276    0x447C,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1277    0x447D,      0, 0x447E,      0, 0x4521,      0,      0, 0x4522, /* 0x30 */
1278         0,      0,      0, 0x4523,      0,      0, 0x4524, 0x4525, /* 0x30 */
1279         0,      0,      0,      0,      0, 0x4526, 0x4527,      0, /* 0x40 */
1280         0, 0x4528, 0x4529,      0,      0,      0, 0x452A,      0, /* 0x40 */
1281    0x452B, 0x452C, 0x452D,      0,      0, 0x452E, 0x452F,      0, /* 0x50 */
1282         0,      0,      0, 0x4530,      0,      0,      0,      0, /* 0x50 */
1283         0,      0,      0,      0, 0x4531,      0,      0, 0x4532, /* 0x60 */
1284         0,      0, 0x4533,      0,      0,      0,      0,      0, /* 0x60 */
1285         0, 0x4534,      0, 0x4535,      0,      0,      0,      0, /* 0x70 */
1286         0,      0,      0,      0,      0,      0, 0x4536,      0, /* 0x70 */
1287         0, 0x4537,      0, 0x4538,      0,      0, 0x4539, 0x453A, /* 0x80 */
1288         0, 0x453B,      0, 0x453C,      0,      0,      0,      0, /* 0x80 */
1289         0, 0x453D,      0,      0,      0,      0,      0,      0, /* 0x90 */
1290         0,      0,      0, 0x453E,      0, 0x453F, 0x4540, 0x4541, /* 0x90 */
1291         0,      0,      0,      0,      0, 0x4542,      0,      0, /* 0xA0 */
1292         0,      0,      0, 0x4543,      0,      0,      0, 0x4544, /* 0xA0 */
1293    0x4545, 0x4546,      0,      0, 0x4547,      0,      0,      0, /* 0xB0 */
1294         0,      0,      0,      0,      0, 0x4548, 0x4549, 0x454A, /* 0xB0 */
1295         0,      0,      0,      0,      0,      0, 0x454B,      0, /* 0xC0 */
1296    0x454D, 0x454C,      0,      0, 0x454E,      0,      0,      0, /* 0xC0 */
1297    0x454F,      0,      0,      0, 0x4550, 0x4551, 0x4552,      0, /* 0xD0 */
1298         0,      0,      0,      0, 0x4553, 0x4554,      0,      0, /* 0xD0 */
1299         0,      0,      0,      0, 0x4555,      0,      0, 0x4556, /* 0xE0 */
1300         0,      0,      0,      0, 0x4557,      0,      0,      0, /* 0xE0 */
1301    0x4558, 0x4559, 0x455A,      0,      0,      0,      0,      0, /* 0xF0 */
1302         0,      0,      0,      0, 0x455B, 0x455C                  /* 0xF0 */
1303};
1304
1305/* ----------------------------------------------------------------------- */
1306
1307static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6B[] =
1308{
1309/*       0       1       2       3       4       5       6       7 */
1310/*       8       9       A       B       C       D       E       F */
1311                    0x455D, 0x455E,      0,      0, 0x455F, 0x4560, /* 0x00 */
1312         0, 0x4561,      0,      0,      0,      0,      0, 0x4562, /* 0x00 */
1313    0x4563, 0x4564,      0,      0,      0,      0,      0, 0x4565, /* 0x10 */
1314         0,      0,      0, 0x4566,      0,      0, 0x4567,      0, /* 0x10 */
1315         0,      0,      0,      0, 0x4568,      0,      0,      0, /* 0x20 */
1316    0x4569,      0,      0, 0x456A, 0x456B,      0,      0, 0x456C, /* 0x20 */
1317         0,      0,      0,      0,      0, 0x456D, 0x456E,      0, /* 0x30 */
1318         0,      0,      0, 0x456F,      0,      0,      0, 0x4570, /* 0x30 */
1319         0,      0,      0,      0,      0,      0, 0x4571,      0, /* 0x40 */
1320         0,      0, 0x4572,      0,      0, 0x4573,      0,      0, /* 0x40 */
1321         0,      0, 0x4574,      0,      0,      0, 0x4575,      0, /* 0x50 */
1322    0x4576,      0,      0,      0,      0, 0x4577,      0,      0, /* 0x50 */
1323    0x4578,      0,      0,      0,      0,      0,      0, 0x4579, /* 0x60 */
1324         0,      0,      0, 0x457A,      0,      0, 0x457B,      0, /* 0x60 */
1325    0x457C,      0,      0,      0,      0, 0x457D,      0,      0, /* 0x70 */
1326         0,      0,      0,      0,      0, 0x457E, 0x4621,      0, /* 0x70 */
1327         0,      0, 0x4622,      0,      0, 0x4623,      0,      0, /* 0x80 */
1328         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1329         0,      0,      0,      0,      0,      0,      0, 0x4624, /* 0x90 */
1330         0,      0,      0, 0x4625,      0,      0,      0, 0x4626, /* 0x90 */
1331    0x4627,      0, 0x4628, 0x4629,      0,      0,      0,      0, /* 0xA0 */
1332    0x462A, 0x462B,      0,      0, 0x462C, 0x462D, 0x462E,      0, /* 0xA0 */
1333    0x462F,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
1334    0x4630, 0x4631,      0,      0,      0, 0x4632, 0x4633,      0, /* 0xB0 */
1335         0,      0,      0, 0x4634, 0x4635,      0,      0,      0, /* 0xC0 */
1336         0, 0x4636,      0,      0, 0x4637,      0,      0,      0, /* 0xC0 */
1337         0,      0,      0,      0,      0,      0, 0x4638,      0, /* 0xD0 */
1338         0,      0, 0x4639,      0,      0,      0,      0,      0, /* 0xD0 */
1339         0, 0x463A,      0, 0x463B,      0,      0, 0x463C, 0x463D, /* 0xE0 */
1340         0,      0,      0,      0,      0,      0, 0x463E,      0, /* 0xE0 */
1341         0, 0x463F,      0,      0,      0,      0,      0, 0x4640, /* 0xF0 */
1342         0, 0x4641,      0,      0,      0,      0,      0, 0x4642  /* 0xF0 */
1343};
1344
1345/* ----------------------------------------------------------------------- */
1346
1347static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6C[] =
1348{
1349/*       0       1       2       3       4       5       6       7 */
1350/*       8       9       A       B       C       D       E       F */
1351                    0x4643,      0, 0x4644, 0x4645,      0,      0, /* 0x00 */
1352         0, 0x4646,      0,      0,      0, 0x4647, 0x4648,      0, /* 0x00 */
1353    0x4649,      0, 0x464A,      0,      0,      0,      0,      0, /* 0x10 */
1354         0, 0x464B,      0,      0,      0,      0,      0, 0x464C, /* 0x10 */
1355         0,      0,      0,      0,      0,      0, 0x464D, 0x464E, /* 0x20 */
1356    0x464F,      0,      0,      0, 0x4650,      0, 0x4651,      0, /* 0x20 */
1357         0,      0,      0, 0x4652,      0, 0x4653, 0x4654,      0, /* 0x30 */
1358         0,      0, 0x4655, 0x4656,      0,      0,      0, 0x4657, /* 0x30 */
1359         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
1360         0,      0, 0x4658, 0x4659,      0, 0x465A,      0, 0x465B, /* 0x40 */
1361         0,      0, 0x465C,      0, 0x465D,      0,      0,      0, /* 0x50 */
1362         0, 0x465E,      0, 0x465F, 0x4660,      0,      0,      0, /* 0x50 */
1363         0,      0,      0,      0,      0,      0,      0, 0x4736, /* 0x60 */
1364         0,      0,      0, 0x4661,      0, 0x4662,      0, 0x4663, /* 0x60 */
1365         0,      0,      0,      0, 0x4664,      0, 0x4665,      0, /* 0x70 */
1366    0x4666, 0x4667,      0, 0x4668,      0,      0,      0,      0, /* 0x70 */
1367         0,      0,      0,      0,      0, 0x4669, 0x466A, 0x466B, /* 0x80 */
1368         0, 0x466C,      0,      0,      0,      0,      0,      0, /* 0x80 */
1369         0,      0,      0,      0, 0x466D, 0x466E,      0, 0x466F, /* 0x90 */
1370    0x4670,      0,      0,      0, 0x4671,      0,      0, 0x4672, /* 0x90 */
1371         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1372         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1373    0x4673,      0, 0x4674,      0, 0x4675,      0,      0,      0, /* 0xB0 */
1374         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
1375         0,      0, 0x4676,      0,      0,      0, 0x4677,      0, /* 0xC0 */
1376         0,      0,      0,      0,      0, 0x4678,      0, 0x4679, /* 0xC0 */
1377    0x467A, 0x467B, 0x467C,      0, 0x467D,      0, 0x467E,      0, /* 0xD0 */
1378         0,      0, 0x4721,      0, 0x4722,      0,      0,      0, /* 0xD0 */
1379    0x4723,      0,      0,      0,      0,      0,      0, 0x4724, /* 0xE0 */
1380         0, 0x4725,      0, 0x4726, 0x4727,      0, 0x4728,      0, /* 0xE0 */
1381         0,      0, 0x4729,      0, 0x472A                          /* 0xF0 */
1382                                                                    /* 0xF0 */
1383};
1384
1385/* ----------------------------------------------------------------------- */
1386
1387static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6D[] =
1388{
1389/*       0       1       2       3       4       5       6       7 */
1390/*       8       9       A       B       C       D       E       F */
1391                                    0x472B,      0,      0, 0x472C, /* 0x00 */
1392         0,      0, 0x472D,      0,      0,      0, 0x472E, 0x472F, /* 0x00 */
1393         0, 0x4730,      0, 0x4731,      0,      0,      0,      0, /* 0x10 */
1394         0,      0, 0x4732,      0,      0,      0,      0,      0, /* 0x10 */
1395         0,      0,      0,      0,      0,      0, 0x4733, 0x4734, /* 0x20 */
1396    0x4735,      0,      0,      0,      0,      0, 0x4737, 0x4738, /* 0x20 */
1397         0, 0x4739,      0,      0,      0,      0,      0,      0, /* 0x30 */
1398         0, 0x473A,      0,      0, 0x473B,      0,      0, 0x473C, /* 0x30 */
1399         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
1400         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
1401         0,      0,      0,      0,      0,      0,      0, 0x473D, /* 0x50 */
1402         0,      0,      0,      0,      0,      0, 0x473E, 0x473F, /* 0x50 */
1403         0, 0x4740,      0,      0,      0, 0x4741,      0, 0x4742, /* 0x60 */
1404         0,      0,      0,      0,      0,      0,      0, 0x4743, /* 0x60 */
1405    0x4744,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1406         0,      0,      0,      0, 0x4745,      0,      0,      0, /* 0x70 */
1407         0,      0, 0x4746,      0,      0,      0,      0, 0x4747, /* 0x80 */
1408         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1409         0, 0x4748, 0x4749,      0, 0x474A,      0, 0x474B, 0x474C, /* 0x90 */
1410    0x474D,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
1411         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1412         0,      0, 0x474E,      0, 0x474F,      0,      0,      0, /* 0xA0 */
1413         0,      0,      0,      0, 0x4750,      0,      0, 0x4751, /* 0xB0 */
1414         0, 0x4752,      0,      0,      0, 0x4753,      0, 0x4754, /* 0xB0 */
1415         0,      0,      0,      0, 0x4755,      0,      0,      0, /* 0xC0 */
1416    0x4756,      0, 0x4757,      0,      0,      0, 0x4758, 0x4759, /* 0xC0 */
1417         0,      0,      0,      0,      0,      0, 0x475A,      0, /* 0xD0 */
1418         0,      0,      0, 0x475B,      0, 0x475C,      0, 0x475D, /* 0xD0 */
1419    0x475E,      0, 0x475F,      0,      0, 0x4760,      0,      0, /* 0xE0 */
1420         0, 0x4761,      0,      0,      0,      0,      0, 0x4762, /* 0xE0 */
1421    0x4763,      0,      0,      0, 0x4764,      0, 0x4765,      0, /* 0xF0 */
1422         0,      0,      0,      0, 0x4766                          /* 0xF0 */
1423};
1424
1425/* ----------------------------------------------------------------------- */
1426
1427static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6E[] =
1428{
1429/*       0       1       2       3       4       5       6       7 */
1430/*       8       9       A       B       C       D       E       F */
1431    0x4767,      0,      0,      0, 0x4768,      0,      0,      0, /* 0x00 */
1432         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
1433         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1434         0,      0,      0,      0,      0,      0, 0x4769,      0, /* 0x10 */
1435         0,      0, 0x476A,      0,      0,      0,      0, 0x476B, /* 0x20 */
1436         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1437         0,      0, 0x476C,      0,      0,      0, 0x476D,      0, /* 0x30 */
1438         0, 0x476E,      0, 0x476F, 0x4770,      0,      0,      0, /* 0x30 */
1439         0,      0,      0,      0, 0x4771, 0x4772,      0,      0, /* 0x40 */
1440    0x4773, 0x4774,      0, 0x4775,      0,      0,      0, 0x4776, /* 0x40 */
1441         0, 0x4777, 0x4778, 0x4779, 0x477A,      0,      0, 0x477B, /* 0x50 */
1442         0,      0,      0,      0, 0x477C, 0x477D, 0x477E,      0, /* 0x50 */
1443         0,      0, 0x4821, 0x4822,      0,      0,      0,      0, /* 0x60 */
1444    0x4823,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
1445         0,      0,      0, 0x4824,      0,      0,      0,      0, /* 0x70 */
1446         0,      0,      0, 0x4825,      0, 0x4826,      0,      0, /* 0x70 */
1447         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1448         0,      0,      0,      0,      0, 0x4827,      0,      0, /* 0x80 */
1449         0,      0,      0, 0x4828,      0,      0,      0,      0, /* 0x90 */
1450         0, 0x4829,      0,      0,      0,      0,      0,      0, /* 0x90 */
1451    0x482A,      0,      0,      0,      0,      0,      0, 0x482B, /* 0xA0 */
1452         0,      0,      0,      0,      0, 0x482C, 0x482D,      0, /* 0xA0 */
1453         0, 0x482E,      0, 0x482F,      0,      0,      0,      0, /* 0xB0 */
1454         0,      0,      0, 0x4830,      0,      0,      0, 0x4831, /* 0xB0 */
1455    0x4832, 0x4833,      0, 0x4834,      0,      0,      0, 0x4835, /* 0xC0 */
1456    0x4836,      0, 0x4837,      0,      0, 0x4838, 0x4839, 0x483A, /* 0xC0 */
1457         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1458         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1459         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1460         0,      0,      0, 0x483B,      0, 0x483C, 0x483D,      0, /* 0xE0 */
1461         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1462         0, 0x483E,      0, 0x483F,      0, 0x4840                  /* 0xF0 */
1463};
1464
1465/* ----------------------------------------------------------------------- */
1466
1467static sal_uInt16 const aImplUniToDBCSTab_JIS0212_6F[] =
1468{
1469/*       0       1       2       3       4       5       6       7 */
1470/*       8       9       A       B       C       D       E       F */
1471                                    0x4841,      0,      0,      0, /* 0x00 */
1472    0x4842,      0, 0x4843,      0, 0x4844, 0x4845,      0,      0, /* 0x00 */
1473         0,      0,      0,      0,      0,      0, 0x4846,      0, /* 0x10 */
1474    0x4847,      0, 0x4848, 0x4849,      0,      0,      0,      0, /* 0x10 */
1475         0,      0,      0,      0,      0,      0, 0x484A,      0, /* 0x20 */
1476         0, 0x484B, 0x484C,      0,      0, 0x4853,      0, 0x484D, /* 0x20 */
1477    0x484E,      0,      0, 0x484F,      0,      0, 0x4850,      0, /* 0x30 */
1478         0,      0,      0, 0x4851, 0x4852,      0,      0,      0, /* 0x30 */
1479         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
1480         0,      0,      0,      0,      0,      0,      0, 0x4854, /* 0x40 */
1481         0, 0x4855, 0x4856, 0x4857,      0,      0,      0, 0x4858, /* 0x50 */
1482         0, 0x4859, 0x485A,      0,      0, 0x485B, 0x485C,      0, /* 0x50 */
1483         0, 0x485D, 0x485E,      0,      0,      0,      0,      0, /* 0x60 */
1484    0x485F,      0,      0,      0, 0x4860,      0,      0,      0, /* 0x60 */
1485         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1486         0,      0,      0,      0,      0, 0x4861, 0x4862,      0, /* 0x70 */
1487         0,      0,      0, 0x4863,      0,      0,      0, 0x4864, /* 0x80 */
1488    0x4865,      0,      0, 0x4866, 0x4867, 0x4868,      0,      0, /* 0x80 */
1489    0x4869,      0, 0x486A, 0x486B, 0x486C,      0, 0x486D,      0, /* 0x90 */
1490         0,      0, 0x486E,      0,      0,      0,      0, 0x486F, /* 0x90 */
1491    0x4870,      0,      0,      0,      0, 0x4871, 0x4872, 0x4873, /* 0xA0 */
1492    0x4874,      0,      0,      0,      0,      0, 0x4875, 0x4876, /* 0xA0 */
1493    0x4877,      0,      0,      0,      0, 0x4878, 0x4879,      0, /* 0xB0 */
1494         0,      0,      0,      0, 0x487A,      0,      0,      0, /* 0xB0 */
1495         0,      0,      0,      0,      0, 0x487B,      0, 0x487C, /* 0xC0 */
1496    0x487D,      0, 0x487E,      0,      0,      0,      0,      0, /* 0xC0 */
1497         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1498         0,      0, 0x4921,      0,      0,      0, 0x4922,      0, /* 0xD0 */
1499         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1500    0x4923, 0x4924,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1501    0x4925,      0,      0,      0,      0, 0x4926,      0,      0, /* 0xF0 */
1502         0, 0x4927,      0,      0, 0x4928, 0x4929                  /* 0xF0 */
1503};
1504
1505/* ----------------------------------------------------------------------- */
1506
1507static sal_uInt16 const aImplUniToDBCSTab_JIS0212_70[] =
1508{
1509/*       0       1       2       3       4       5       6       7 */
1510/*       8       9       A       B       C       D       E       F */
1511    0x492A,      0,      0,      0,      0, 0x492B, 0x492C, 0x492D, /* 0x00 */
1512         0,      0,      0,      0,      0, 0x492E,      0,      0, /* 0x00 */
1513         0,      0,      0,      0,      0,      0,      0, 0x492F, /* 0x10 */
1514         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1515    0x4930,      0,      0, 0x4931,      0,      0,      0,      0, /* 0x20 */
1516         0,      0,      0,      0,      0,      0,      0, 0x4932, /* 0x20 */
1517         0,      0,      0,      0, 0x4933,      0,      0, 0x4934, /* 0x30 */
1518         0, 0x4935,      0,      0, 0x4936,      0,      0,      0, /* 0x30 */
1519         0,      0,      0, 0x4937, 0x4938,      0,      0,      0, /* 0x40 */
1520    0x4939, 0x493A, 0x493B, 0x493C,      0,      0, 0x4941,      0, /* 0x40 */
1521         0,      0,      0,      0, 0x493D, 0x493E,      0,      0, /* 0x50 */
1522         0,      0,      0,      0,      0, 0x493F, 0x4940,      0, /* 0x50 */
1523         0,      0,      0,      0, 0x4942, 0x4943,      0,      0, /* 0x60 */
1524         0,      0,      0,      0, 0x4944,      0, 0x4945,      0, /* 0x60 */
1525         0,      0,      0,      0,      0, 0x4946, 0x4947,      0, /* 0x70 */
1526         0,      0,      0,      0,      0,      0, 0x4948,      0, /* 0x70 */
1527         0, 0x4949,      0,      0,      0, 0x494A, 0x494B,      0, /* 0x80 */
1528         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1529         0,      0,      0,      0, 0x494C, 0x494D, 0x494E, 0x494F, /* 0x90 */
1530    0x4950,      0,      0, 0x4951,      0,      0,      0,      0, /* 0x90 */
1531         0,      0,      0,      0, 0x4952,      0,      0,      0, /* 0xA0 */
1532         0,      0,      0, 0x4953,      0,      0,      0,      0, /* 0xA0 */
1533    0x4954, 0x4955,      0,      0, 0x4956,      0,      0, 0x4957, /* 0xB0 */
1534         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
1535         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
1536         0,      0, 0x4958,      0,      0,      0,      0,      0, /* 0xC0 */
1537         0, 0x4959,      0, 0x495A, 0x495B, 0x495C, 0x495D,      0, /* 0xD0 */
1538    0x495E,      0,      0,      0, 0x495F,      0,      0,      0, /* 0xD0 */
1539         0,      0,      0,      0, 0x4960,      0,      0,      0, /* 0xE0 */
1540         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1541         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1542         0,      0, 0x4961                                          /* 0xF0 */
1543};
1544
1545/* ----------------------------------------------------------------------- */
1546
1547static sal_uInt16 const aImplUniToDBCSTab_JIS0212_71[] =
1548{
1549/*       0       1       2       3       4       5       6       7 */
1550/*       8       9       A       B       C       D       E       F */
1551                            0x4962, 0x4963, 0x4964, 0x4965, 0x4966, /* 0x00 */
1552         0,      0,      0, 0x4967, 0x4968,      0,      0, 0x4969, /* 0x00 */
1553         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1554         0,      0,      0,      0,      0,      0, 0x496A,      0, /* 0x10 */
1555    0x496B,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
1556         0,      0,      0, 0x496C,      0, 0x496D,      0, 0x496E, /* 0x20 */
1557    0x496F, 0x4970,      0,      0,      0,      0,      0,      0, /* 0x30 */
1558    0x4971,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
1559         0, 0x4972,      0,      0,      0, 0x4973, 0x4974, 0x4975, /* 0x40 */
1560         0,      0, 0x4976, 0x4977,      0,      0,      0,      0, /* 0x40 */
1561    0x4978,      0, 0x4979,      0,      0,      0,      0, 0x497A, /* 0x50 */
1562         0,      0, 0x497B,      0, 0x497C,      0, 0x497D,      0, /* 0x50 */
1563    0x497E,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
1564    0x4A21,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
1565         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1566         0, 0x4A22,      0,      0,      0,      0,      0,      0, /* 0x70 */
1567    0x4A23,      0,      0,      0,      0, 0x4A24,      0, 0x4A25, /* 0x80 */
1568         0,      0,      0,      0, 0x4A26,      0,      0,      0, /* 0x80 */
1569         0,      0, 0x4A27,      0,      0,      0,      0,      0, /* 0x90 */
1570         0,      0, 0x4A28, 0x4A29,      0,      0,      0,      0, /* 0x90 */
1571    0x4A2A,      0, 0x4A2B,      0,      0,      0,      0,      0, /* 0xA0 */
1572         0,      0,      0,      0,      0,      0,      0, 0x4A2C, /* 0xA0 */
1573    0x4A2D,      0, 0x4A2E, 0x4A2F,      0,      0,      0,      0, /* 0xB0 */
1574         0,      0, 0x4A30,      0,      0,      0,      0, 0x4A31, /* 0xB0 */
1575    0x4A32, 0x4A33,      0,      0, 0x4A34,      0,      0,      0, /* 0xC0 */
1576         0,      0,      0, 0x4A35, 0x4A36,      0,      0,      0, /* 0xC0 */
1577         0,      0,      0, 0x4A37,      0,      0, 0x4A38,      0, /* 0xD0 */
1578         0, 0x4A39, 0x4A3A,      0, 0x4A3B,      0,      0,      0, /* 0xD0 */
1579         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1580         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1581         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1582    0x4A3C,      0,      0,      0,      0,      0, 0x4A3D          /* 0xF0 */
1583};
1584
1585/* ----------------------------------------------------------------------- */
1586
1587static sal_uInt16 const aImplUniToDBCSTab_JIS0212_72[] =
1588{
1589/*       0       1       2       3       4       5       6       7 */
1590/*       8       9       A       B       C       D       E       F */
1591    0x4A3E,      0,      0,      0,      0,      0,      0, 0x4A3F, /* 0x00 */
1592    0x4A40, 0x4A41,      0,      0,      0,      0,      0,      0, /* 0x00 */
1593         0,      0,      0, 0x4A42,      0,      0,      0, 0x4A43, /* 0x10 */
1594         0,      0, 0x4A44,      0,      0, 0x4A45,      0, 0x4A46, /* 0x10 */
1595         0,      0,      0,      0, 0x4A47,      0,      0,      0, /* 0x20 */
1596         0,      0,      0, 0x4A48,      0,      0,      0, 0x4A49, /* 0x20 */
1597         0,      0,      0,      0, 0x4A4A,      0,      0,      0, /* 0x30 */
1598    0x4A4B, 0x4A4C,      0,      0,      0,      0,      0,      0, /* 0x30 */
1599         0, 0x4A4D, 0x4A4E, 0x4A4F,      0, 0x4A50,      0,      0, /* 0x40 */
1600         0,      0,      0,      0,      0,      0, 0x4A51, 0x4A52, /* 0x40 */
1601    0x4A53,      0,      0, 0x4A54,      0, 0x4A55, 0x4A56,      0, /* 0x50 */
1602         0,      0, 0x4A57,      0, 0x4A58,      0, 0x4A59,      0, /* 0x50 */
1603    0x4A5A,      0,      0, 0x4A5B,      0,      0,      0,      0, /* 0x60 */
1604    0x4A5C,      0,      0, 0x4A5D,      0,      0, 0x4A5E, 0x4A5F, /* 0x60 */
1605         0, 0x4A60,      0,      0,      0,      0,      0, 0x4A61, /* 0x70 */
1606    0x4A62,      0,      0, 0x4A63, 0x4A64,      0,      0, 0x4A65, /* 0x70 */
1607         0,      0,      0,      0, 0x4A66,      0,      0,      0, /* 0x80 */
1608         0, 0x4A67,      0,      0,      0, 0x4A68, 0x4A69,      0, /* 0x80 */
1609         0,      0,      0, 0x4A6A,      0,      0,      0,      0, /* 0x90 */
1610         0,      0,      0, 0x4A6B,      0,      0,      0,      0, /* 0x90 */
1611         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1612    0x4A6C,      0,      0,      0,      0, 0x4A6D, 0x4A6E,      0, /* 0xA0 */
1613         0, 0x4A6F,      0,      0, 0x4A70,      0,      0,      0, /* 0xB0 */
1614         0,      0,      0,      0,      0,      0, 0x4A71,      0, /* 0xB0 */
1615         0, 0x4A72,      0,      0,      0,      0,      0, 0x4A73, /* 0xC0 */
1616         0, 0x4A74,      0,      0, 0x4A75,      0,      0,      0, /* 0xC0 */
1617         0,      0,      0,      0,      0, 0x4A76, 0x4A77,      0, /* 0xD0 */
1618    0x4A78,      0,      0,      0,      0,      0,      0, 0x4A79, /* 0xD0 */
1619         0,      0,      0,      0,      0, 0x4A7A,      0,      0, /* 0xE0 */
1620         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1621         0,      0,      0, 0x4A7B, 0x4A7C,      0,      0,      0, /* 0xF0 */
1622         0,      0, 0x4A7D, 0x4A7E,      0,      0, 0x4B21          /* 0xF0 */
1623};
1624
1625/* ----------------------------------------------------------------------- */
1626
1627static sal_uInt16 const aImplUniToDBCSTab_JIS0212_73[] =
1628{
1629/*       0       1       2       3       4       5       6       7 */
1630/*       8       9       A       B       C       D       E       F */
1631                    0x4B22,      0, 0x4B23, 0x4B24,      0, 0x4B25, /* 0x00 */
1632         0,      0,      0, 0x4B26,      0, 0x4B27,      0,      0, /* 0x00 */
1633         0,      0, 0x4B28, 0x4B29,      0,      0,      0,      0, /* 0x10 */
1634    0x4B2A, 0x4B2B,      0,      0,      0,      0, 0x4B2C,      0, /* 0x10 */
1635         0,      0, 0x4B2D,      0, 0x4B2E,      0,      0, 0x4B2F, /* 0x20 */
1636    0x4B30,      0,      0,      0, 0x4B31,      0,      0,      0, /* 0x20 */
1637         0, 0x4B32, 0x4B33,      0,      0, 0x4B34,      0,      0, /* 0x30 */
1638         0,      0, 0x4B35, 0x4B36,      0, 0x4B37,      0,      0, /* 0x30 */
1639         0,      0,      0, 0x4B38,      0,      0,      0,      0, /* 0x40 */
1640         0,      0,      0,      0,      0, 0x4B39,      0,      0, /* 0x40 */
1641    0x4B3A,      0, 0x4B3B,      0,      0,      0, 0x4B3C,      0, /* 0x50 */
1642    0x4B3D,      0,      0,      0,      0, 0x4B3E, 0x4B3F, 0x4B40, /* 0x50 */
1643    0x4B41,      0,      0,      0,      0,      0, 0x4B42, 0x4B43, /* 0x60 */
1644         0, 0x4B44,      0, 0x4B45, 0x4B46,      0, 0x4B47, 0x4B48, /* 0x60 */
1645         0, 0x4B49,      0,      0,      0,      0,      0, 0x4B4A, /* 0x70 */
1646         0, 0x4B4B,      0,      0, 0x4B4C,      0,      0,      0, /* 0x70 */
1647    0x4B4D, 0x4B4E,      0, 0x4B4F,      0, 0x4B50, 0x4B51,      0, /* 0x80 */
1648         0,      0,      0,      0,      0,      0, 0x4B52,      0, /* 0x80 */
1649    0x4B53,      0,      0, 0x4B54,      0, 0x4B55,      0, 0x4B56, /* 0x90 */
1650    0x4B57,      0,      0,      0, 0x4B58,      0, 0x4B59, 0x4B5A, /* 0x90 */
1651    0x4B5B,      0, 0x4B5C,      0,      0, 0x4B5D, 0x4B5E,      0, /* 0xA0 */
1652         0,      0, 0x4B5F, 0x4B60,      0, 0x4B61,      0,      0, /* 0xA0 */
1653         0,      0,      0,      0,      0, 0x4B62,      0, 0x4B63, /* 0xB0 */
1654         0, 0x4B64,      0,      0, 0x4B65, 0x4B66,      0, 0x4B67, /* 0xB0 */
1655         0,      0,      0,      0,      0, 0x4B68, 0x4B69,      0, /* 0xC0 */
1656         0, 0x4B6A,      0, 0x4B6B, 0x4B6C,      0,      0, 0x4B6D, /* 0xC0 */
1657         0,      0, 0x4B6E, 0x4B6F,      0,      0, 0x4B70,      0, /* 0xD0 */
1658         0, 0x4B71,      0,      0,      0, 0x4B72,      0,      0, /* 0xD0 */
1659         0, 0x4B73,      0, 0x4B74,      0,      0, 0x4B75, 0x4B76, /* 0xE0 */
1660         0, 0x4B77,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1661         0,      0,      0,      0, 0x4B78, 0x4B79,      0, 0x4B7A, /* 0xF0 */
1662         0, 0x4B7B, 0x4B7C, 0x4B7D,      0, 0x4B7E,      0, 0x4C21  /* 0xF0 */
1663};
1664
1665/* ----------------------------------------------------------------------- */
1666
1667static sal_uInt16 const aImplUniToDBCSTab_JIS0212_74[] =
1668{
1669/*       0       1       2       3       4       5       6       7 */
1670/*       8       9       A       B       C       D       E       F */
1671    0x4C22, 0x4C23,      0,      0, 0x4C24,      0,      0, 0x4C25, /* 0x00 */
1672         0,      0, 0x4C26,      0,      0,      0,      0,      0, /* 0x00 */
1673         0, 0x4C27,      0,      0,      0,      0,      0,      0, /* 0x10 */
1674         0,      0, 0x4C28, 0x4C29,      0,      0,      0,      0, /* 0x10 */
1675         0,      0,      0,      0, 0x4C2A,      0, 0x4C2B,      0, /* 0x20 */
1676    0x4C2C, 0x4C2D, 0x4C2E, 0x4C2F, 0x4C30, 0x4C31, 0x4C32, 0x4C33, /* 0x20 */
1677    0x4C34, 0x4C35,      0,      0,      0,      0,      0,      0, /* 0x30 */
1678         0, 0x4C36,      0,      0,      0,      0,      0,      0, /* 0x30 */
1679    0x4C37,      0,      0, 0x4C38, 0x4C39,      0, 0x4C3A, 0x4C3B, /* 0x40 */
1680         0,      0,      0, 0x4C3C,      0, 0x4C3D,      0,      0, /* 0x40 */
1681         0, 0x4C3E, 0x4C3F,      0,      0,      0,      0, 0x4C40, /* 0x50 */
1682         0,      0,      0,      0,      0, 0x4C41,      0,      0, /* 0x50 */
1683         0,      0, 0x4C42,      0,      0,      0, 0x4C43, 0x4C44, /* 0x60 */
1684    0x4C45,      0,      0, 0x4C46,      0, 0x4C47, 0x4C48,      0, /* 0x60 */
1685         0, 0x4C49, 0x4C4A,      0,      0,      0,      0,      0, /* 0x70 */
1686         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1687    0x4C4B, 0x4C4C,      0,      0,      0, 0x4C4D, 0x4C4E, 0x4C4F, /* 0x80 */
1688         0, 0x4C50,      0,      0,      0,      0,      0, 0x4C51, /* 0x80 */
1689    0x4C52, 0x4C53, 0x4C54,      0,      0,      0,      0,      0, /* 0x90 */
1690    0x4C55, 0x4C56, 0x4C57,      0, 0x4C58,      0,      0, 0x4C59, /* 0x90 */
1691    0x4C5A, 0x4C5B,      0, 0x4C5C,      0,      0, 0x4C5D,      0, /* 0xA0 */
1692    0x4C5E, 0x4C5F, 0x4C60, 0x4C61,      0,      0, 0x4C62, 0x4C63, /* 0xA0 */
1693         0, 0x4C64, 0x4C65,      0,      0, 0x4C66,      0,      0, /* 0xB0 */
1694         0, 0x4C67,      0, 0x4C68,      0,      0,      0, 0x4C69, /* 0xB0 */
1695         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
1696    0x4C6A, 0x4C6B,      0,      0, 0x4C6C,      0,      0,      0, /* 0xC0 */
1697    0x4C6D,      0,      0, 0x4C6E,      0,      0,      0,      0, /* 0xD0 */
1698    0x4C6F,      0, 0x4C70, 0x4C71,      0,      0, 0x4C72, 0x4C73, /* 0xD0 */
1699         0,      0,      0,      0, 0x4C74,      0,      0,      0, /* 0xE0 */
1700    0x4C75,      0, 0x4C76, 0x4C77,      0,      0,      0, 0x4C78, /* 0xE0 */
1701         0,      0,      0,      0, 0x4C79,      0,      0,      0, /* 0xF0 */
1702         0,      0, 0x4C7A, 0x4C7B, 0x4C7C,      0,      0, 0x4C7D  /* 0xF0 */
1703};
1704
1705/* ----------------------------------------------------------------------- */
1706
1707static sal_uInt16 const aImplUniToDBCSTab_JIS0212_75[] =
1708{
1709/*       0       1       2       3       4       5       6       7 */
1710/*       8       9       A       B       C       D       E       F */
1711                                                    0x4C7E,      0, /* 0x00 */
1712         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
1713         0,      0, 0x4D21,      0,      0,      0, 0x4D22, 0x4D23, /* 0x10 */
1714         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1715    0x4D24, 0x4D25,      0,      0, 0x4D26,      0,      0, 0x4D27, /* 0x20 */
1716         0, 0x4D28, 0x4D29,      0,      0,      0,      0, 0x4D2A, /* 0x20 */
1717         0,      0,      0,      0,      0,      0, 0x4D2B,      0, /* 0x30 */
1718         0, 0x4D2C,      0,      0,      0, 0x4D2D, 0x4D2E, 0x4D2F, /* 0x30 */
1719    0x4D30,      0,      0, 0x4D31,      0,      0,      0, 0x4D32, /* 0x40 */
1720    0x4D33,      0,      0,      0,      0,      0, 0x4D34,      0, /* 0x40 */
1721    0x4D35,      0, 0x4D36,      0,      0,      0,      0, 0x4D37, /* 0x50 */
1722         0,      0,      0,      0,      0,      0, 0x4D38, 0x4D39, /* 0x50 */
1723         0, 0x4D3A,      0,      0,      0,      0,      0,      0, /* 0x60 */
1724         0,      0,      0,      0,      0,      0,      0, 0x4D3B, /* 0x60 */
1725         0, 0x4D3C,      0,      0,      0,      0,      0,      0, /* 0x70 */
1726         0, 0x4D3D, 0x4D3E, 0x4D3F, 0x4D40, 0x4D41, 0x4D42,      0, /* 0x70 */
1727         0, 0x4D43,      0,      0,      0, 0x4D44,      0,      0, /* 0x80 */
1728         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1729    0x4D45,      0, 0x4D46, 0x4D47,      0, 0x4D48,      0,      0, /* 0x90 */
1730         0, 0x4D49,      0,      0, 0x4D4A,      0,      0,      0, /* 0x90 */
1731         0,      0, 0x4D4B,      0, 0x4D4C,      0,      0,      0, /* 0xA0 */
1732         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1733         0,      0,      0,      0, 0x4D4D,      0,      0,      0, /* 0xB0 */
1734         0,      0, 0x4D4E,      0,      0,      0,      0, 0x4D4F, /* 0xB0 */
1735    0x4D50, 0x4D51,      0,      0, 0x4D52,      0, 0x4D53,      0, /* 0xC0 */
1736         0,      0,      0,      0, 0x4D54,      0, 0x4D55, 0x4D56, /* 0xC0 */
1737         0,      0,      0,      0,      0,      0,      0, 0x4D57, /* 0xD0 */
1738         0,      0,      0,      0, 0x4D58,      0,      0, 0x4D59, /* 0xD0 */
1739    0x4D5A, 0x4D5B,      0,      0, 0x4D5C,      0,      0, 0x4D5D, /* 0xE0 */
1740         0,      0,      0,      0, 0x4D5E,      0, 0x4D5F, 0x4D60, /* 0xE0 */
1741         0, 0x4D61,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1742         0, 0x4D62                                                  /* 0xF0 */
1743};
1744
1745/* ----------------------------------------------------------------------- */
1746
1747static sal_uInt16 const aImplUniToDBCSTab_JIS0212_76[] =
1748{
1749/*       0       1       2       3       4       5       6       7 */
1750/*       8       9       A       B       C       D       E       F */
1751    0x4D63,      0, 0x4D64, 0x4D65, 0x4D66,      0,      0, 0x4D67, /* 0x00 */
1752    0x4D68,      0, 0x4D69,      0, 0x4D6A,      0,      0, 0x4D6B, /* 0x00 */
1753         0,      0, 0x4D6C, 0x4D6D,      0, 0x4D6E, 0x4D6F,      0, /* 0x10 */
1754         0, 0x4D70,      0, 0x4D71, 0x4D72, 0x4D73, 0x4D74,      0, /* 0x10 */
1755         0,      0,      0, 0x4D75,      0, 0x4D76, 0x4D77,      0, /* 0x20 */
1756         0, 0x4D78,      0,      0,      0, 0x4D79,      0,      0, /* 0x20 */
1757         0,      0, 0x4D7A, 0x4D7B,      0, 0x4D7C,      0,      0, /* 0x30 */
1758    0x4D7D, 0x4D7E, 0x4E21,      0, 0x4E22,      0,      0,      0, /* 0x30 */
1759    0x4E24, 0x4E25,      0, 0x4E26, 0x4E27, 0x4E28,      0,      0, /* 0x40 */
1760         0, 0x4E29, 0x4E23, 0x4E2A,      0,      0,      0,      0, /* 0x40 */
1761         0,      0,      0,      0,      0, 0x4E2B,      0,      0, /* 0x50 */
1762         0, 0x4E2C,      0,      0,      0,      0,      0, 0x4E2D, /* 0x50 */
1763         0,      0,      0,      0, 0x4E2E, 0x4E2F,      0,      0, /* 0x60 */
1764         0,      0,      0,      0,      0, 0x4E30, 0x4E31, 0x4E32, /* 0x60 */
1765         0, 0x4E33,      0,      0, 0x4E34,      0,      0,      0, /* 0x70 */
1766         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1767         0, 0x4E35,      0,      0,      0, 0x4E36,      0,      0, /* 0x80 */
1768         0,      0,      0,      0, 0x4E37, 0x4E38,      0,      0, /* 0x80 */
1769         0,      0,      0,      0,      0, 0x4E39,      0,      0, /* 0x90 */
1770         0,      0,      0, 0x4E3A, 0x4E3B, 0x4E3C,      0, 0x4E3D, /* 0x90 */
1771    0x4E3E,      0, 0x4E3F, 0x4E40, 0x4E41, 0x4E42, 0x4E43, 0x4E44, /* 0xA0 */
1772    0x4E45,      0, 0x4E46,      0,      0, 0x4E47,      0,      0, /* 0xA0 */
1773         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
1774         0,      0,      0,      0,      0, 0x4E48,      0,      0, /* 0xB0 */
1775         0, 0x4E49,      0,      0,      0, 0x4E4A,      0,      0, /* 0xC0 */
1776         0, 0x4E4B,      0, 0x4E4C, 0x4E4D,      0, 0x4E4E,      0, /* 0xC0 */
1777         0,      0,      0,      0, 0x4E4F,      0,      0,      0, /* 0xD0 */
1778         0, 0x4E50,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1779    0x4E51,      0,      0,      0,      0,      0, 0x4E52,      0, /* 0xE0 */
1780    0x4E53,      0,      0,      0, 0x4E54,      0,      0,      0, /* 0xE0 */
1781    0x4E55, 0x4E56,      0,      0,      0,      0, 0x4E57,      0, /* 0xF0 */
1782         0, 0x4E58,      0,      0, 0x4E59                          /* 0xF0 */
1783};
1784
1785/* ----------------------------------------------------------------------- */
1786
1787static sal_uInt16 const aImplUniToDBCSTab_JIS0212_77[] =
1788{
1789/*       0       1       2       3       4       5       6       7 */
1790/*       8       9       A       B       C       D       E       F */
1791    0x4E5A,      0,      0,      0,      0,      0, 0x4E5B,      0, /* 0x00 */
1792         0,      0, 0x4E5C,      0,      0,      0, 0x4E5D,      0, /* 0x00 */
1793         0,      0, 0x4E5E,      0, 0x4E5F, 0x4E60,      0, 0x4E61, /* 0x10 */
1794         0, 0x4E62, 0x4E63,      0, 0x4E64,      0,      0,      0, /* 0x10 */
1795         0,      0, 0x4E65,      0,      0,      0,      0,      0, /* 0x20 */
1796    0x4E66,      0,      0,      0,      0, 0x4E67, 0x4E68, 0x4E69, /* 0x20 */
1797         0,      0,      0,      0, 0x4E6A, 0x4E6B, 0x4E6C,      0, /* 0x30 */
1798         0, 0x4E6D,      0,      0,      0, 0x4E6E, 0x4E6F,      0, /* 0x30 */
1799         0,      0, 0x4E70,      0,      0, 0x4E71, 0x4E72,      0, /* 0x40 */
1800         0,      0, 0x4E73,      0,      0, 0x4E74, 0x4E75, 0x4E76, /* 0x40 */
1801         0,      0, 0x4E77,      0,      0,      0, 0x4E78, 0x4E79, /* 0x50 */
1802         0,      0,      0,      0, 0x4E7A,      0, 0x4E7B, 0x4E7C, /* 0x50 */
1803    0x4E7D,      0, 0x4E7E,      0, 0x4F21,      0,      0, 0x4F22, /* 0x60 */
1804         0,      0, 0x4F23,      0, 0x4F24,      0,      0,      0, /* 0x60 */
1805    0x4F25,      0, 0x4F26, 0x4F27, 0x4F28,      0,      0,      0, /* 0x70 */
1806         0,      0, 0x4F29,      0,      0, 0x4F2A,      0,      0, /* 0x70 */
1807    0x4F2B,      0,      0,      0, 0x4F2C,      0,      0,      0, /* 0x80 */
1808         0,      0,      0,      0, 0x4F2D, 0x4F2E,      0,      0, /* 0x80 */
1809         0,      0,      0,      0, 0x4F2F, 0x4F30, 0x4F31,      0, /* 0x90 */
1810         0,      0, 0x4F32,      0,      0,      0,      0, 0x4F33, /* 0x90 */
1811         0,      0, 0x4F34,      0,      0,      0,      0, 0x4F35, /* 0xA0 */
1812         0,      0, 0x4F36,      0,      0,      0, 0x4F37, 0x4F38, /* 0xA0 */
1813         0, 0x4F39,      0,      0,      0, 0x4F3A,      0,      0, /* 0xB0 */
1814         0,      0,      0,      0,      0,      0, 0x4F3B,      0, /* 0xB0 */
1815         0,      0,      0, 0x4F3C,      0,      0,      0,      0, /* 0xC0 */
1816         0, 0x4F3D,      0,      0,      0,      0,      0,      0, /* 0xC0 */
1817         0, 0x4F3E, 0x4F3F,      0,      0, 0x4F40,      0,      0, /* 0xD0 */
1818         0, 0x4F41,      0,      0,      0,      0, 0x4F42, 0x4F43, /* 0xD0 */
1819    0x4F44,      0,      0,      0, 0x4F45,      0, 0x4F46,      0, /* 0xE0 */
1820         0,      0, 0x4F47,      0, 0x4F48,      0,      0,      0, /* 0xE0 */
1821    0x4F49, 0x4F4A,      0,      0, 0x4F4B,      0,      0,      0, /* 0xF0 */
1822    0x4F4C,      0,      0, 0x4F4D                                  /* 0xF0 */
1823};
1824
1825/* ----------------------------------------------------------------------- */
1826
1827static sal_uInt16 const aImplUniToDBCSTab_JIS0212_78[] =
1828{
1829/*       0       1       2       3       4       5       6       7 */
1830/*       8       9       A       B       C       D       E       F */
1831                                            0x4F4E, 0x4F4F,      0, /* 0x00 */
1832         0, 0x4F50,      0,      0,      0, 0x4F51, 0x4F52,      0, /* 0x00 */
1833         0, 0x4F53,      0,      0,      0,      0,      0,      0, /* 0x10 */
1834         0,      0,      0,      0,      0, 0x4F54,      0,      0, /* 0x10 */
1835         0, 0x4F55, 0x4F56, 0x4F57,      0,      0,      0,      0, /* 0x20 */
1836         0,      0,      0,      0,      0, 0x4F58, 0x4F59,      0, /* 0x20 */
1837    0x4F5A,      0,      0,      0,      0, 0x4F5B,      0, 0x4F5C, /* 0x30 */
1838         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
1839         0,      0,      0, 0x4F5D, 0x4F5E,      0,      0, 0x4F5F, /* 0x40 */
1840    0x4F60,      0,      0,      0, 0x4F61,      0, 0x4F62,      0, /* 0x40 */
1841         0,      0, 0x4F63,      0,      0,      0,      0,      0, /* 0x50 */
1842         0,      0,      0,      0, 0x4F64,      0, 0x4F65,      0, /* 0x50 */
1843    0x4F66, 0x4F67,      0, 0x4F68, 0x4F69,      0,      0,      0, /* 0x60 */
1844    0x4F6A,      0, 0x4F6B,      0,      0,      0, 0x4F6C,      0, /* 0x60 */
1845         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1846         0,      0, 0x4F6D,      0,      0,      0, 0x4F6E,      0, /* 0x70 */
1847         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1848         0,      0, 0x4F6F,      0,      0,      0,      0, 0x4F70, /* 0x80 */
1849         0,      0,      0,      0, 0x4F71,      0,      0,      0, /* 0x90 */
1850    0x4F72,      0,      0,      0,      0, 0x4F74, 0x4F75, 0x4F76, /* 0x90 */
1851         0, 0x4F73,      0,      0, 0x4F77,      0,      0,      0, /* 0xA0 */
1852    0x4F78,      0,      0,      0, 0x4F79, 0x4F7A,      0,      0, /* 0xA0 */
1853    0x4F7B, 0x4F7C, 0x4F7D, 0x4F7E,      0,      0,      0,      0, /* 0xB0 */
1854         0,      0,      0, 0x5021,      0, 0x5022,      0, 0x5023, /* 0xB0 */
1855         0,      0,      0,      0,      0,      0,      0, 0x5024, /* 0xC0 */
1856    0x5025, 0x5026,      0,      0, 0x5027,      0, 0x5028,      0, /* 0xC0 */
1857         0,      0, 0x5029, 0x502A,      0, 0x502B, 0x502C,      0, /* 0xD0 */
1858         0,      0,      0, 0x502E,      0,      0,      0, 0x502F, /* 0xD0 */
1859    0x5030, 0x5031,      0,      0, 0x502D,      0, 0x5032,      0, /* 0xE0 */
1860         0,      0, 0x5033,      0,      0,      0,      0,      0, /* 0xE0 */
1861         0,      0, 0x5034, 0x5035,      0,      0, 0x5037, 0x5038, /* 0xF0 */
1862         0,      0, 0x5039, 0x503A,      0,      0,      0, 0x503B  /* 0xF0 */
1863};
1864
1865/* ----------------------------------------------------------------------- */
1866
1867static sal_uInt16 const aImplUniToDBCSTab_JIS0212_79[] =
1868{
1869/*       0       1       2       3       4       5       6       7 */
1870/*       8       9       A       B       C       D       E       F */
1871    0x5036,      0,      0,      0,      0,      0, 0x503C,      0, /* 0x00 */
1872         0,      0,      0,      0, 0x503D,      0,      0,      0, /* 0x00 */
1873    0x503E,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1874         0,      0, 0x503F,      0, 0x5040,      0, 0x5041, 0x5042, /* 0x10 */
1875    0x5043,      0,      0,      0,      0, 0x5044,      0, 0x5045, /* 0x20 */
1876         0, 0x5046,      0,      0,      0, 0x5047,      0,      0, /* 0x20 */
1877         0, 0x5048,      0,      0, 0x5049, 0x504A,      0,      0, /* 0x30 */
1878         0,      0,      0, 0x504B,      0, 0x504C,      0, 0x504D, /* 0x30 */
1879         0,      0,      0,      0, 0x504E, 0x504F, 0x5050,      0, /* 0x40 */
1880         0,      0, 0x5051, 0x5052,      0,      0,      0, 0x5053, /* 0x40 */
1881         0, 0x5054,      0,      0, 0x5055,      0,      0,      0, /* 0x50 */
1882    0x5056,      0,      0, 0x5057, 0x5058,      0,      0,      0, /* 0x50 */
1883         0,      0,      0,      0,      0,      0,      0, 0x5059, /* 0x60 */
1884         0, 0x505A,      0, 0x505B,      0,      0,      0,      0, /* 0x60 */
1885         0,      0, 0x505C,      0,      0,      0,      0,      0, /* 0x70 */
1886         0, 0x505D,      0, 0x505E, 0x505F,      0, 0x5060,      0, /* 0x70 */
1887         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
1888         0,      0,      0, 0x5061, 0x5062,      0,      0,      0, /* 0x80 */
1889         0, 0x5063,      0, 0x5064, 0x5065, 0x5066, 0x5067,      0, /* 0x90 */
1890    0x5068,      0,      0, 0x5069, 0x506A,      0,      0,      0, /* 0x90 */
1891         0, 0x506B,      0,      0,      0,      0,      0,      0, /* 0xA0 */
1892    0x506C, 0x506D,      0, 0x506E,      0,      0,      0, 0x506F, /* 0xA0 */
1893         0, 0x5070,      0,      0, 0x5071,      0,      0,      0, /* 0xB0 */
1894    0x5072,      0,      0, 0x5073,      0,      0,      0,      0, /* 0xB0 */
1895         0,      0, 0x5074,      0, 0x5075,      0,      0, 0x5076, /* 0xC0 */
1896    0x5077,      0, 0x5078,      0,      0,      0,      0, 0x5079, /* 0xC0 */
1897         0,      0,      0,      0, 0x507A,      0, 0x507B,      0, /* 0xD0 */
1898         0,      0, 0x507C,      0,      0, 0x507D, 0x507E,      0, /* 0xD0 */
1899    0x5121,      0, 0x5122,      0,      0, 0x5123,      0,      0, /* 0xE0 */
1900         0,      0, 0x5124, 0x5125,      0, 0x5126,      0,      0, /* 0xE0 */
1901         0, 0x5127,      0,      0,      0,      0,      0,      0, /* 0xF0 */
1902    0x5128,      0,      0,      0, 0x5129                          /* 0xF0 */
1903};
1904
1905/* ----------------------------------------------------------------------- */
1906
1907static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7A[] =
1908{
1909/*       0       1       2       3       4       5       6       7 */
1910/*       8       9       A       B       C       D       E       F */
1911                    0x512A, 0x512B,      0,      0,      0, 0x512C, /* 0x00 */
1912         0, 0x512D, 0x512E,      0, 0x512F,      0,      0,      0, /* 0x00 */
1913         0, 0x5130,      0,      0,      0, 0x5131,      0,      0, /* 0x10 */
1914         0,      0,      0, 0x5132,      0,      0, 0x5133,      0, /* 0x10 */
1915         0, 0x5134,      0,      0,      0,      0,      0, 0x5135, /* 0x20 */
1916         0,      0,      0, 0x5136,      0, 0x5137,      0, 0x5138, /* 0x20 */
1917    0x5139,      0,      0,      0, 0x513A, 0x513B,      0,      0, /* 0x30 */
1918    0x513C, 0x513D, 0x513E,      0,      0,      0,      0,      0, /* 0x30 */
1919         0,      0,      0,      0, 0x513F, 0x5140,      0, 0x5141, /* 0x40 */
1920    0x5142,      0,      0,      0, 0x5143,      0,      0,      0, /* 0x40 */
1921         0,      0,      0,      0,      0, 0x5144, 0x5145,      0, /* 0x50 */
1922         0, 0x5146,      0,      0, 0x5147, 0x5148,      0, 0x5149, /* 0x50 */
1923    0x514A,      0,      0,      0,      0, 0x514B,      0, 0x514C, /* 0x60 */
1924         0,      0, 0x514D,      0,      0, 0x514E,      0,      0, /* 0x60 */
1925         0,      0,      0,      0,      0, 0x514F,      0,      0, /* 0x70 */
1926    0x5150,      0,      0,      0,      0,      0, 0x5151,      0, /* 0x70 */
1927    0x5152,      0, 0x5153,      0,      0, 0x5154, 0x5155,      0, /* 0x80 */
1928         0,      0, 0x5156, 0x5157,      0,      0,      0,      0, /* 0x80 */
1929    0x5158, 0x5159,      0,      0, 0x515A,      0,      0,      0, /* 0x90 */
1930         0,      0,      0,      0,      0,      0, 0x515B,      0, /* 0x90 */
1931    0x515C,      0,      0, 0x515D,      0,      0,      0,      0, /* 0xA0 */
1932         0,      0,      0,      0, 0x515E,      0,      0,      0, /* 0xA0 */
1933         0,      0,      0, 0x515F,      0, 0x5160,      0,      0, /* 0xB0 */
1934         0, 0x5161,      0, 0x5162, 0x5163,      0,      0,      0, /* 0xB0 */
1935         0,      0,      0,      0,      0,      0, 0x5164,      0, /* 0xC0 */
1936         0, 0x5165,      0,      0, 0x5166,      0, 0x5167,      0, /* 0xC0 */
1937         0, 0x5168,      0,      0,      0,      0,      0,      0, /* 0xD0 */
1938         0,      0,      0, 0x5169,      0,      0,      0,      0, /* 0xD0 */
1939         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1940    0x516A, 0x516B,      0, 0x516C, 0x516D,      0,      0,      0, /* 0xE0 */
1941         0, 0x516E,      0,      0, 0x516F,      0,      0,      0, /* 0xF0 */
1942         0,      0,      0, 0x5170,      0, 0x5171, 0x5172          /* 0xF0 */
1943};
1944
1945/* ----------------------------------------------------------------------- */
1946
1947static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7B[] =
1948{
1949/*       0       1       2       3       4       5       6       7 */
1950/*       8       9       A       B       C       D       E       F */
1951                                                            0x5173, /* 0x00 */
1952         0,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
1953         0,      0,      0,      0, 0x5174,      0,      0,      0, /* 0x10 */
1954         0,      0,      0,      0,      0,      0,      0, 0x5175, /* 0x10 */
1955         0,      0,      0, 0x5176,      0,      0,      0, 0x5177, /* 0x20 */
1956         0, 0x5178, 0x5179, 0x517A,      0, 0x517B, 0x517C, 0x517D, /* 0x20 */
1957    0x517E, 0x5221,      0,      0, 0x5222,      0,      0,      0, /* 0x30 */
1958         0,      0,      0,      0,      0, 0x5223,      0, 0x5224, /* 0x30 */
1959    0x5225, 0x5226,      0,      0,      0,      0,      0, 0x5227, /* 0x40 */
1960         0,      0,      0,      0,      0,      0, 0x5228,      0, /* 0x40 */
1961         0,      0,      0,      0,      0, 0x5229,      0,      0, /* 0x50 */
1962         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
1963    0x522A,      0,      0,      0, 0x522B,      0, 0x522C,      0, /* 0x60 */
1964         0, 0x522D, 0x522E,      0,      0, 0x522F,      0, 0x5230, /* 0x60 */
1965         0,      0, 0x5231, 0x5232,      0,      0,      0, 0x5233, /* 0x70 */
1966         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
1967         0,      0,      0,      0, 0x5234,      0,      0,      0, /* 0x80 */
1968         0, 0x5235,      0,      0,      0,      0, 0x5236,      0, /* 0x80 */
1969    0x5237, 0x5238,      0,      0,      0,      0, 0x5239,      0, /* 0x90 */
1970         0,      0,      0, 0x523A,      0,      0, 0x523B,      0, /* 0x90 */
1971    0x523C,      0,      0,      0,      0, 0x523D,      0,      0, /* 0xA0 */
1972         0,      0,      0,      0, 0x523E,      0,      0, 0x523F, /* 0xA0 */
1973    0x5240,      0, 0x5241,      0,      0, 0x5242, 0x5243,      0, /* 0xB0 */
1974         0,      0, 0x5244, 0x5245, 0x5246, 0x5247,      0,      0, /* 0xB0 */
1975         0,      0, 0x5248,      0,      0, 0x5249,      0,      0, /* 0xC0 */
1976    0x524A,      0, 0x524B,      0,      0,      0,      0,      0, /* 0xC0 */
1977         0,      0,      0,      0, 0x524C,      0, 0x524D, 0x524E, /* 0xD0 */
1978         0, 0x524F, 0x5250, 0x5251,      0,      0,      0,      0, /* 0xD0 */
1979         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
1980    0x5252,      0, 0x5253,      0,      0,      0,      0,      0, /* 0xE0 */
1981         0,      0, 0x5254,      0, 0x5255, 0x5256,      0,      0, /* 0xF0 */
1982    0x5257, 0x5258, 0x5259,      0, 0x525A,      0, 0x525B          /* 0xF0 */
1983};
1984
1985/* ----------------------------------------------------------------------- */
1986
1987static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7C[] =
1988{
1989/*       0       1       2       3       4       5       6       7 */
1990/*       8       9       A       B       C       D       E       F */
1991            0x525C, 0x525D, 0x525E, 0x525F,      0, 0x5260,      0, /* 0x00 */
1992         0, 0x5261,      0, 0x5262, 0x5263,      0, 0x5264, 0x5265, /* 0x00 */
1993         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
1994         0, 0x5266,      0, 0x5267,      0,      0,      0,      0, /* 0x10 */
1995    0x5268,      0,      0,      0,      0, 0x5269, 0x526A,      0, /* 0x20 */
1996    0x526B,      0,      0,      0, 0x526C,      0,      0,      0, /* 0x20 */
1997         0, 0x526D,      0, 0x526E, 0x526F,      0, 0x5270,      0, /* 0x30 */
1998         0, 0x5271, 0x5272,      0,      0,      0,      0,      0, /* 0x30 */
1999         0,      0,      0,      0,      0,      0, 0x5273,      0, /* 0x40 */
2000         0,      0, 0x5274,      0,      0,      0,      0,      0, /* 0x40 */
2001         0, 0x5276, 0x5277, 0x5278,      0, 0x5275,      0,      0, /* 0x50 */
2002         0, 0x5279, 0x527A, 0x527B, 0x527C, 0x527D, 0x527E,      0, /* 0x50 */
2003         0, 0x5321,      0, 0x5322,      0,      0,      0, 0x5323, /* 0x60 */
2004         0, 0x5324,      0,      0,      0, 0x5325, 0x5326,      0, /* 0x60 */
2005    0x5327,      0, 0x5328,      0,      0,      0,      0,      0, /* 0x70 */
2006         0, 0x5329,      0,      0, 0x532A, 0x532B,      0,      0, /* 0x70 */
2007         0,      0,      0,      0,      0,      0, 0x532C, 0x532D, /* 0x80 */
2008         0,      0,      0,      0,      0,      0,      0, 0x532E, /* 0x80 */
2009         0,      0,      0,      0, 0x532F,      0,      0,      0, /* 0x90 */
2010         0,      0,      0,      0,      0,      0, 0x5330,      0, /* 0x90 */
2011    0x5331,      0,      0,      0,      0,      0, 0x5332,      0, /* 0xA0 */
2012         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2013    0x5333,      0,      0,      0,      0,      0, 0x5334, 0x5335, /* 0xB0 */
2014         0,      0, 0x5336, 0x5337, 0x5338,      0,      0, 0x5339, /* 0xB0 */
2015         0,      0,      0,      0, 0x533A,      0,      0, 0x533B, /* 0xC0 */
2016    0x533C, 0x533D,      0,      0,      0, 0x533E,      0, 0x533F, /* 0xC0 */
2017         0,      0,      0, 0x5340, 0x5341, 0x5342,      0, 0x5343, /* 0xD0 */
2018         0, 0x5344, 0x5345,      0,      0, 0x5346,      0,      0, /* 0xD0 */
2019         0,      0,      0,      0,      0,      0, 0x5347,      0, /* 0xE0 */
2020         0, 0x5348,      0, 0x5349,      0,      0,      0,      0, /* 0xE0 */
2021         0,      0,      0,      0,      0, 0x534A                  /* 0xF0 */
2022                                                                    /* 0xF0 */
2023};
2024
2025/* ----------------------------------------------------------------------- */
2026
2027static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7D[] =
2028{
2029/*       0       1       2       3       4       5       6       7 */
2030/*       8       9       A       B       C       D       E       F */
2031                            0x534B,      0,      0,      0, 0x534C, /* 0x00 */
2032    0x534D, 0x534E,      0,      0,      0,      0,      0, 0x534F, /* 0x00 */
2033         0, 0x5350, 0x5351, 0x5352,      0,      0, 0x5353,      0, /* 0x10 */
2034         0,      0,      0,      0,      0, 0x5354, 0x5355,      0, /* 0x10 */
2035         0,      0,      0, 0x5356,      0,      0, 0x5357,      0, /* 0x20 */
2036         0,      0, 0x5358,      0,      0, 0x5359,      0,      0, /* 0x20 */
2037         0, 0x535A,      0,      0,      0,      0,      0,      0, /* 0x30 */
2038         0,      0,      0,      0, 0x535B, 0x535C, 0x535D,      0, /* 0x30 */
2039    0x535E, 0x535F,      0,      0,      0,      0,      0, 0x5360, /* 0x40 */
2040    0x5361,      0,      0,      0,      0, 0x5362,      0,      0, /* 0x40 */
2041         0, 0x5363,      0, 0x5364,      0,      0,      0, 0x5365, /* 0x50 */
2042         0, 0x5366, 0x5367,      0, 0x5368, 0x5369,      0,      0, /* 0x50 */
2043         0,      0,      0,      0,      0, 0x536A,      0, 0x536B, /* 0x60 */
2044         0,      0, 0x536C,      0,      0,      0,      0,      0, /* 0x60 */
2045    0x536D,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2046    0x536E,      0, 0x536F, 0x5370,      0,      0,      0, 0x5371, /* 0x70 */
2047         0, 0x5372, 0x5373, 0x5374,      0, 0x5375, 0x5376,      0, /* 0x80 */
2048    0x5377,      0,      0, 0x5378, 0x5379, 0x537A,      0,      0, /* 0x80 */
2049         0, 0x537B,      0,      0,      0,      0, 0x537C, 0x537D, /* 0x90 */
2050         0,      0,      0,      0,      0, 0x537E, 0x5421,      0, /* 0x90 */
2051         0,      0,      0,      0,      0,      0, 0x5422, 0x5423, /* 0xA0 */
2052         0,      0, 0x5424,      0,      0,      0,      0,      0, /* 0xA0 */
2053         0,      0,      0, 0x5425,      0,      0, 0x5426, 0x5427, /* 0xB0 */
2054         0, 0x5428,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2055         0,      0, 0x5429, 0x542A, 0x542B, 0x542C, 0x542D,      0, /* 0xC0 */
2056         0,      0,      0,      0, 0x542E, 0x542F, 0x5430,      0, /* 0xC0 */
2057         0,      0,      0,      0,      0,      0,      0, 0x5431, /* 0xD0 */
2058         0, 0x5432,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2059         0,      0, 0x5434,      0,      0, 0x5435, 0x5436,      0, /* 0xE0 */
2060         0,      0, 0x5437, 0x5438,      0, 0x5439,      0,      0, /* 0xE0 */
2061         0, 0x543A,      0,      0,      0, 0x543B, 0x543C,      0, /* 0xF0 */
2062         0, 0x543D, 0x543E                                          /* 0xF0 */
2063};
2064
2065/* ----------------------------------------------------------------------- */
2066
2067static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7E[] =
2068{
2069/*       0       1       2       3       4       5       6       7 */
2070/*       8       9       A       B       C       D       E       F */
2071    0x5433,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
2072    0x543F,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
2073    0x5440, 0x5441,      0,      0,      0, 0x5442,      0, 0x5443, /* 0x10 */
2074         0,      0,      0,      0, 0x5444, 0x5445,      0,      0, /* 0x10 */
2075    0x5446,      0,      0,      0,      0,      0,      0, 0x5447, /* 0x20 */
2076    0x5448,      0,      0,      0, 0x5449, 0x544A,      0, 0x544B, /* 0x20 */
2077         0,      0,      0, 0x544C,      0,      0, 0x544D,      0, /* 0x30 */
2078         0,      0,      0,      0,      0,      0,      0, 0x544E, /* 0x30 */
2079         0,      0,      0,      0, 0x544F, 0x5450,      0, 0x5451, /* 0x40 */
2080         0,      0,      0,      0,      0,      0, 0x5452,      0, /* 0x40 */
2081    0x5453,      0, 0x5454,      0,      0,      0,      0,      0, /* 0x50 */
2082    0x5455,      0,      0,      0,      0,      0,      0, 0x5456, /* 0x50 */
2083         0, 0x5457, 0x5458,      0,      0, 0x5459,      0,      0, /* 0x60 */
2084         0,      0,      0, 0x545A,      0,      0, 0x545B, 0x545C, /* 0x60 */
2085         0,      0,      0, 0x545D,      0,      0,      0,      0, /* 0x70 */
2086    0x545E,      0,      0,      0,      0,      0, 0x545F,      0, /* 0x70 */
2087         0, 0x5460,      0,      0,      0,      0, 0x5461, 0x5462, /* 0x80 */
2088         0,      0, 0x5463,      0,      0, 0x5464,      0,      0, /* 0x80 */
2089         0, 0x5465,      0,      0,      0, 0x5466,      0,      0, /* 0x90 */
2090    0x5467,      0, 0x5468,      0,      0, 0x5469, 0x546A          /* 0x90 */
2091};
2092
2093/* ----------------------------------------------------------------------- */
2094
2095static sal_uInt16 const aImplUniToDBCSTab_JIS0212_7F[] =
2096{
2097/*       0       1       2       3       4       5       6       7 */
2098/*       8       9       A       B       C       D       E       F */
2099                                                                    /* 0x30 */
2100                            0x546C, 0x546B, 0x546D, 0x546E, 0x546F, /* 0x30 */
2101         0,      0,      0, 0x5470, 0x5471,      0,      0, 0x5472, /* 0x40 */
2102         0,      0,      0,      0,      0,      0,      0, 0x5473, /* 0x40 */
2103         0,      0, 0x5474, 0x5475,      0,      0,      0,      0, /* 0x50 */
2104         0,      0,      0, 0x5476, 0x5477, 0x5478,      0,      0, /* 0x50 */
2105         0, 0x5479,      0, 0x547A, 0x547B, 0x547C, 0x547D,      0, /* 0x60 */
2106         0,      0,      0,      0,      0, 0x547E,      0,      0, /* 0x60 */
2107         0, 0x5521,      0,      0,      0,      0,      0,      0, /* 0x70 */
2108         0,      0,      0,      0,      0, 0x5522, 0x5523, 0x5524, /* 0x70 */
2109    0x5525,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2110         0,      0,      0, 0x5526,      0, 0x5527,      0, 0x5528, /* 0x80 */
2111    0x5529, 0x552A,      0,      0,      0,      0, 0x552B, 0x552C, /* 0x90 */
2112         0,      0,      0,      0, 0x552D,      0,      0,      0, /* 0x90 */
2113         0, 0x552E, 0x552F,      0,      0,      0, 0x5530,      0, /* 0xA0 */
2114         0,      0, 0x5531,      0,      0, 0x5532,      0,      0, /* 0xA0 */
2115         0,      0,      0,      0, 0x5533,      0,      0,      0, /* 0xB0 */
2116         0,      0,      0,      0, 0x5534,      0,      0, 0x5535, /* 0xB0 */
2117    0x5536,      0,      0, 0x5537,      0,      0,      0,      0, /* 0xC0 */
2118    0x5538,      0,      0,      0,      0,      0, 0x5539, 0x553A, /* 0xC0 */
2119         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2120         0,      0,      0, 0x553B,      0,      0,      0, 0x553C, /* 0xD0 */
2121         0,      0,      0, 0x553D,      0, 0x553E,      0,      0, /* 0xE0 */
2122    0x553F,      0,      0,      0, 0x5540,      0, 0x5541, 0x5542, /* 0xE0 */
2123         0,      0, 0x5543,      0,      0,      0,      0,      0, /* 0xF0 */
2124         0,      0, 0x5544,      0,      0, 0x5545, 0x5546, 0x5547  /* 0xF0 */
2125};
2126
2127/* ----------------------------------------------------------------------- */
2128
2129static sal_uInt16 const aImplUniToDBCSTab_JIS0212_80[] =
2130{
2131/*       0       1       2       3       4       5       6       7 */
2132/*       8       9       A       B       C       D       E       F */
2133                                                            0x5548, /* 0x00 */
2134    0x5549,      0, 0x554A,      0,      0, 0x554B, 0x554C, 0x554D, /* 0x00 */
2135         0, 0x554E,      0, 0x554F, 0x5550,      0, 0x5551,      0, /* 0x10 */
2136         0,      0,      0,      0,      0, 0x5552, 0x5553, 0x5554, /* 0x10 */
2137    0x5555,      0,      0,      0, 0x5556,      0, 0x5557,      0, /* 0x20 */
2138         0,      0,      0,      0, 0x5558,      0, 0x5559,      0, /* 0x20 */
2139    0x555A,      0,      0,      0, 0x555B, 0x555C,      0, 0x555D, /* 0x30 */
2140         0, 0x555E, 0x555F,      0, 0x5560,      0, 0x5561,      0, /* 0x30 */
2141    0x5562,      0,      0,      0, 0x5563,      0,      0,      0, /* 0x40 */
2142         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
2143         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2144         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2145    0x5564,      0,      0,      0, 0x5565,      0, 0x5566,      0, /* 0x60 */
2146         0,      0,      0,      0,      0, 0x5567,      0,      0, /* 0x60 */
2147         0, 0x5568,      0,      0,      0, 0x5569,      0,      0, /* 0x70 */
2148         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2149         0, 0x556A,      0,      0,      0,      0,      0,      0, /* 0x80 */
2150    0x556B,      0,      0,      0,      0,      0, 0x556C,      0, /* 0x80 */
2151         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
2152         0,      0,      0,      0, 0x556D,      0, 0x556E,      0, /* 0x90 */
2153         0,      0,      0,      0,      0,      0, 0x556F, 0x5570, /* 0xA0 */
2154         0,      0,      0, 0x5571,      0,      0,      0,      0, /* 0xA0 */
2155         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2156    0x5572, 0x5573,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2157         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2158    0x5574,      0,      0,      0,      0, 0x5575,      0, 0x5576, /* 0xC0 */
2159         0,      0, 0x5577,      0, 0x5578, 0x5579,      0, 0x557A, /* 0xD0 */
2160    0x557B,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2161    0x557C,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2162         0,      0,      0,      0,      0, 0x557D, 0x557E,      0, /* 0xE0 */
2163    0x5621,      0, 0x5622, 0x5623,      0,      0, 0x5624,      0, /* 0xF0 */
2164         0, 0x5625, 0x5626,      0,      0,      0, 0x5627          /* 0xF0 */
2165};
2166
2167/* ----------------------------------------------------------------------- */
2168
2169static sal_uInt16 const aImplUniToDBCSTab_JIS0212_81[] =
2170{
2171/*       0       1       2       3       4       5       6       7 */
2172/*       8       9       A       B       C       D       E       F */
2173                            0x5628,      0,      0,      0,      0, /* 0x00 */
2174         0,      0,      0, 0x5629,      0,      0,      0,      0, /* 0x00 */
2175         0,      0,      0,      0,      0,      0, 0x562A, 0x562B, /* 0x10 */
2176    0x562C,      0,      0,      0, 0x562D,      0, 0x562E,      0, /* 0x10 */
2177    0x562F,      0,      0,      0, 0x5630,      0,      0, 0x5631, /* 0x20 */
2178         0,      0,      0,      0, 0x5632,      0,      0,      0, /* 0x20 */
2179    0x5633,      0,      0,      0,      0, 0x5634,      0,      0, /* 0x30 */
2180         0,      0, 0x5635,      0, 0x5636,      0,      0,      0, /* 0x30 */
2181         0,      0,      0,      0,      0, 0x5637,      0, 0x5638, /* 0x40 */
2182         0,      0, 0x5639,      0, 0x563A,      0,      0,      0, /* 0x40 */
2183         0,      0, 0x563B,      0,      0,      0,      0, 0x563C, /* 0x50 */
2184         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2185    0x563D, 0x563E,      0,      0,      0,      0,      0, 0x563F, /* 0x60 */
2186    0x5640, 0x5641,      0,      0,      0, 0x5642,      0, 0x5643, /* 0x60 */
2187         0,      0,      0,      0,      0,      0,      0, 0x5644, /* 0x70 */
2188         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2189         0, 0x5645,      0,      0, 0x5647, 0x5648, 0x5649,      0, /* 0x80 */
2190         0,      0,      0, 0x564A,      0,      0, 0x564B,      0, /* 0x80 */
2191    0x5646,      0,      0,      0,      0,      0, 0x564C,      0, /* 0x90 */
2192    0x564D,      0,      0, 0x564E,      0,      0, 0x564F,      0, /* 0x90 */
2193         0,      0, 0x5650,      0,      0,      0,      0,      0, /* 0xA0 */
2194         0,      0,      0,      0,      0,      0, 0x5651,      0, /* 0xA0 */
2195         0,      0, 0x5652,      0, 0x5653,      0,      0,      0, /* 0xB0 */
2196         0,      0,      0, 0x5654,      0,      0,      0,      0, /* 0xB0 */
2197         0,      0,      0, 0x5656,      0, 0x5657,      0,      0, /* 0xC0 */
2198         0,      0, 0x5658, 0x5655,      0,      0, 0x5659, 0x565A, /* 0xC0 */
2199         0,      0,      0,      0,      0, 0x565B,      0, 0x565C, /* 0xD0 */
2200         0,      0,      0, 0x565D,      0, 0x565E, 0x565F,      0, /* 0xD0 */
2201         0, 0x5660,      0,      0, 0x5661,      0,      0,      0, /* 0xE0 */
2202         0,      0,      0, 0x5662, 0x5663,      0,      0,      0, /* 0xE0 */
2203    0x5664, 0x5665, 0x5666,      0,      0, 0x5667, 0x5668,      0, /* 0xF0 */
2204    0x5669, 0x566A,      0,      0,      0, 0x566B,      0, 0x566C  /* 0xF0 */
2205};
2206
2207/* ----------------------------------------------------------------------- */
2208
2209static sal_uInt16 const aImplUniToDBCSTab_JIS0212_82[] =
2210{
2211/*       0       1       2       3       4       5       6       7 */
2212/*       8       9       A       B       C       D       E       F */
2213    0x566D,      0,      0, 0x566E,      0,      0,      0,      0, /* 0x00 */
2214         0,      0,      0,      0,      0,      0,      0, 0x566F, /* 0x00 */
2215         0,      0,      0, 0x5670, 0x5671,      0,      0,      0, /* 0x10 */
2216         0, 0x5672, 0x5673,      0,      0, 0x5674,      0,      0, /* 0x10 */
2217         0, 0x5675, 0x5676,      0,      0,      0,      0,      0, /* 0x20 */
2218    0x5677,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2219         0,      0, 0x5678,      0, 0x5679,      0,      0,      0, /* 0x30 */
2220         0,      0, 0x567A,      0,      0,      0,      0,      0, /* 0x30 */
2221         0,      0,      0, 0x567B, 0x567C, 0x567D, 0x567E,      0, /* 0x40 */
2222         0,      0,      0, 0x5721,      0,      0, 0x5722, 0x5723, /* 0x40 */
2223         0, 0x5724,      0,      0,      0,      0, 0x5725,      0, /* 0x50 */
2224         0,      0,      0,      0, 0x5726,      0,      0,      0, /* 0x50 */
2225    0x5727,      0,      0, 0x5728,      0,      0,      0, 0x5729, /* 0x60 */
2226         0,      0,      0,      0,      0, 0x572A,      0,      0, /* 0x60 */
2227         0,      0,      0,      0, 0x572B,      0,      0,      0, /* 0x70 */
2228         0,      0,      0, 0x572C,      0, 0x572D,      0, 0x572E, /* 0x70 */
2229    0x572F, 0x5730,      0, 0x5731, 0x5732,      0,      0, 0x5733, /* 0x80 */
2230         0, 0x5734, 0x5735,      0,      0,      0, 0x5736,      0, /* 0x80 */
2231         0, 0x5737,      0,      0, 0x5738,      0, 0x5739,      0, /* 0x90 */
2232    0x573A,      0, 0x573B, 0x573C,      0,      0,      0,      0, /* 0x90 */
2233    0x573D, 0x573E,      0, 0x573F, 0x5740,      0,      0, 0x5741, /* 0xA0 */
2234    0x5742, 0x5743, 0x5744,      0,      0,      0, 0x5745,      0, /* 0xA0 */
2235    0x5746,      0, 0x5747,      0, 0x5748,      0,      0, 0x5749, /* 0xB0 */
2236         0,      0, 0x574A,      0, 0x574B,      0, 0x574C, 0x574D, /* 0xB0 */
2237         0,      0,      0,      0,      0,      0, 0x574E,      0, /* 0xC0 */
2238         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2239    0x574F,      0,      0,      0,      0, 0x5750,      0,      0, /* 0xD0 */
2240         0,      0, 0x5751,      0,      0,      0,      0,      0, /* 0xD0 */
2241    0x5752,      0, 0x5753,      0, 0x5754,      0,      0,      0, /* 0xE0 */
2242    0x5755,      0, 0x5756,      0,      0, 0x5757,      0, 0x5758, /* 0xE0 */
2243         0,      0,      0,      0,      0,      0, 0x5759, 0x575A, /* 0xF0 */
2244         0,      0,      0,      0,      0, 0x575B, 0x575C          /* 0xF0 */
2245};
2246
2247/* ----------------------------------------------------------------------- */
2248
2249static sal_uInt16 const aImplUniToDBCSTab_JIS0212_83[] =
2250{
2251/*       0       1       2       3       4       5       6       7 */
2252/*       8       9       A       B       C       D       E       F */
2253    0x575D, 0x575E,      0,      0,      0,      0,      0, 0x575F, /* 0x00 */
2254    0x5760,      0, 0x5761, 0x5762,      0,      0,      0,      0, /* 0x00 */
2255         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
2256         0,      0,      0, 0x5764,      0, 0x5765, 0x5766, 0x5767, /* 0x10 */
2257         0, 0x5768, 0x5769,      0,      0,      0,      0,      0, /* 0x20 */
2258         0,      0,      0,      0, 0x576A, 0x576B, 0x576C,      0, /* 0x20 */
2259    0x576D,      0,      0, 0x576E,      0,      0,      0, 0x576F, /* 0x30 */
2260         0,      0, 0x5770,      0, 0x5771, 0x5772,      0,      0, /* 0x30 */
2261         0,      0, 0x5773, 0x5774, 0x5775,      0,      0, 0x5776, /* 0x40 */
2262         0,      0,      0,      0,      0, 0x5777, 0x5778,      0, /* 0x40 */
2263         0, 0x5779,      0, 0x583E, 0x5763, 0x577A, 0x577B, 0x577C, /* 0x50 */
2264         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2265         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
2266         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
2267    0x577D,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2268    0x577E,      0,      0,      0,      0, 0x5821,      0, 0x5822, /* 0x70 */
2269    0x5823,      0, 0x5824,      0, 0x5825,      0, 0x5826,      0, /* 0x80 */
2270         0,      0,      0,      0,      0, 0x5827,      0,      0, /* 0x80 */
2271         0,      0, 0x5828,      0, 0x5829, 0x582A,      0,      0, /* 0x90 */
2272    0x582B, 0x582C,      0, 0x582D, 0x582E, 0x582F,      0,      0, /* 0x90 */
2273         0,      0,      0,      0,      0,      0, 0x5830, 0x5831, /* 0xA0 */
2274         0, 0x5832,      0,      0, 0x5833, 0x584C,      0,      0, /* 0xA0 */
2275         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2276         0,      0,      0,      0,      0,      0, 0x5834, 0x5835, /* 0xB0 */
2277    0x5836,      0,      0,      0,      0,      0,      0, 0x5837, /* 0xC0 */
2278         0, 0x5838,      0,      0,      0,      0,      0, 0x5839, /* 0xC0 */
2279    0x583A, 0x583B,      0,      0, 0x583C,      0,      0,      0, /* 0xD0 */
2280         0,      0,      0,      0,      0, 0x583D,      0,      0, /* 0xD0 */
2281         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2282    0x583F,      0, 0x5840,      0,      0,      0,      0,      0, /* 0xE0 */
2283         0,      0,      0,      0,      0,      0, 0x5841,      0, /* 0xF0 */
2284    0x5842, 0x5843,      0,      0, 0x5844                          /* 0xF0 */
2285};
2286
2287/* ----------------------------------------------------------------------- */
2288
2289static sal_uInt16 const aImplUniToDBCSTab_JIS0212_84[] =
2290{
2291/*       0       1       2       3       4       5       6       7 */
2292/*       8       9       A       B       C       D       E       F */
2293            0x5845,      0,      0,      0,      0, 0x5846,      0, /* 0x00 */
2294         0,      0, 0x5847,      0,      0,      0,      0, 0x5848, /* 0x00 */
2295         0, 0x5849,      0,      0,      0, 0x584A,      0,      0, /* 0x10 */
2296         0, 0x584B,      0,      0,      0,      0,      0,      0, /* 0x10 */
2297         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2298         0,      0,      0,      0,      0,      0,      0, 0x584D, /* 0x20 */
2299         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
2300         0, 0x584E,      0,      0,      0,      0,      0,      0, /* 0x30 */
2301         0,      0,      0,      0,      0, 0x584F,      0, 0x5850, /* 0x40 */
2302    0x5851,      0, 0x5852,      0,      0, 0x5853,      0, 0x5854, /* 0x40 */
2303         0, 0x5855, 0x5856,      0,      0,      0, 0x5857,      0, /* 0x50 */
2304    0x5858, 0x5859, 0x585A,      0, 0x585B,      0,      0,      0, /* 0x50 */
2305    0x585C,      0,      0,      0, 0x585D, 0x585E,      0, 0x585F, /* 0x60 */
2306         0,      0, 0x5860,      0,      0,      0,      0,      0, /* 0x60 */
2307    0x5861,      0,      0, 0x5862, 0x5863,      0, 0x5864,      0, /* 0x70 */
2308    0x5865,      0,      0,      0, 0x5866, 0x5867,      0,      0, /* 0x70 */
2309         0, 0x5868,      0,      0,      0, 0x5869,      0,      0, /* 0x80 */
2310         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2311         0,      0, 0x586A, 0x586B,      0, 0x586C,      0,      0, /* 0x90 */
2312         0,      0,      0,      0,      0,      0, 0x586D,      0, /* 0x90 */
2313         0,      0,      0,      0,      0,      0, 0x586E,      0, /* 0xA0 */
2314    0x586F, 0x5870, 0x5871,      0,      0,      0,      0, 0x5872, /* 0xA0 */
2315         0, 0x5873,      0,      0, 0x5874,      0,      0,      0, /* 0xB0 */
2316         0,      0, 0x5875,      0,      0, 0x5876, 0x5877,      0, /* 0xB0 */
2317    0x5878,      0, 0x5879,      0,      0,      0,      0, 0x587A, /* 0xC0 */
2318    0x587B,      0,      0,      0, 0x587C,      0,      0, 0x587D, /* 0xC0 */
2319         0,      0,      0, 0x587E,      0,      0,      0,      0, /* 0xD0 */
2320         0,      0,      0,      0, 0x5921,      0,      0,      0, /* 0xD0 */
2321         0,      0,      0,      0,      0,      0,      0, 0x5922, /* 0xE0 */
2322         0,      0, 0x5923,      0,      0,      0,      0, 0x5924, /* 0xE0 */
2323    0x5925, 0x5926, 0x5927,      0,      0,      0,      0, 0x5928, /* 0xF0 */
2324         0,      0, 0x592A, 0x592B,      0, 0x592C                  /* 0xF0 */
2325};
2326
2327/* ----------------------------------------------------------------------- */
2328
2329static sal_uInt16 const aImplUniToDBCSTab_JIS0212_85[] =
2330{
2331/*       0       1       2       3       4       5       6       7 */
2332/*       8       9       A       B       C       D       E       F */
2333                    0x592D, 0x592E,      0,      0,      0, 0x592F, /* 0x00 */
2334         0,      0,      0,      0, 0x5930,      0, 0x5931,      0, /* 0x00 */
2335    0x5932,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
2336         0,      0,      0,      0, 0x5933,      0, 0x5934,      0, /* 0x10 */
2337         0,      0, 0x5935, 0x5936, 0x5937, 0x5938,      0, 0x5939, /* 0x20 */
2338         0,      0, 0x593A, 0x593B,      0,      0,      0, 0x593C, /* 0x20 */
2339         0,      0, 0x5929, 0x593D, 0x593E,      0, 0x593F,      0, /* 0x30 */
2340         0,      0,      0,      0,      0,      0,      0, 0x5940, /* 0x30 */
2341         0,      0,      0,      0,      0,      0, 0x5941,      0, /* 0x40 */
2342         0,      0,      0,      0,      0,      0,      0, 0x5942, /* 0x40 */
2343    0x5943, 0x5944, 0x5945, 0x5946,      0,      0, 0x5947,      0, /* 0x50 */
2344         0, 0x5948,      0,      0, 0x5949, 0x594A, 0x594B, 0x594C, /* 0x50 */
2345    0x594D, 0x594E, 0x594F,      0, 0x5950,      0,      0,      0, /* 0x60 */
2346         0,      0,      0, 0x5951,      0,      0,      0, 0x5952, /* 0x60 */
2347         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2348         0, 0x5953, 0x5954, 0x5955,      0, 0x5956,      0, 0x5957, /* 0x70 */
2349         0, 0x5958,      0,      0,      0, 0x5959, 0x595A,      0, /* 0x80 */
2350         0, 0x595B,      0, 0x595C, 0x595D,      0,      0, 0x595E, /* 0x80 */
2351         0,      0,      0, 0x595F,      0,      0,      0,      0, /* 0x90 */
2352    0x5960,      0,      0,      0,      0, 0x5961,      0, 0x5962, /* 0x90 */
2353    0x5963,      0, 0x5964,      0,      0, 0x5965,      0, 0x5966, /* 0xA0 */
2354         0,      0,      0,      0,      0, 0x5974,      0,      0, /* 0xA0 */
2355         0,      0,      0,      0, 0x5967,      0, 0x5968, 0x5969, /* 0xB0 */
2356    0x596A,      0,      0,      0, 0x596B, 0x596C, 0x596D, 0x596E, /* 0xB0 */
2357         0,      0, 0x596F,      0,      0,      0,      0, 0x5970, /* 0xC0 */
2358         0,      0, 0x5971, 0x5972,      0,      0, 0x5973,      0, /* 0xC0 */
2359         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2360    0x5975,      0, 0x5976,      0,      0,      0,      0, 0x5977, /* 0xD0 */
2361    0x5978,      0,      0,      0,      0,      0, 0x5979,      0, /* 0xE0 */
2362    0x597A,      0,      0,      0,      0, 0x597B,      0,      0, /* 0xE0 */
2363         0,      0,      0, 0x597C,      0,      0, 0x597D,      0, /* 0xF0 */
2364         0,      0,      0,      0, 0x597E,      0,      0, 0x5A21  /* 0xF0 */
2365};
2366
2367/* ----------------------------------------------------------------------- */
2368
2369static sal_uInt16 const aImplUniToDBCSTab_JIS0212_86[] =
2370{
2371/*       0       1       2       3       4       5       6       7 */
2372/*       8       9       A       B       C       D       E       F */
2373    0x5A22,      0,      0,      0, 0x5A23, 0x5A24,      0,      0, /* 0x00 */
2374         0,      0,      0,      0,      0, 0x5A25, 0x5A26,      0, /* 0x00 */
2375    0x5A27, 0x5A28, 0x5A29,      0,      0,      0,      0,      0, /* 0x10 */
2376    0x5A2A, 0x5A2B,      0, 0x5A2C,      0,      0, 0x5A2D,      0, /* 0x10 */
2377         0, 0x5A2E,      0,      0,      0,      0,      0, 0x5A2F, /* 0x20 */
2378         0, 0x5A30,      0,      0,      0,      0,      0,      0, /* 0x20 */
2379         0,      0,      0,      0,      0,      0, 0x5A31,      0, /* 0x30 */
2380    0x5A32,      0, 0x5A33,      0, 0x5A34, 0x5A35,      0,      0, /* 0x30 */
2381    0x5A36, 0x3866, 0x5A37,      0,      0,      0, 0x5A38,      0, /* 0x40 */
2382         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
2383         0,      0, 0x5A39, 0x5A3A,      0,      0, 0x5A3B, 0x5A3C, /* 0x50 */
2384    0x5A3D, 0x5A3E,      0,      0,      0, 0x5A3F,      0,      0, /* 0x50 */
2385    0x5A40, 0x5A41, 0x5A42, 0x5A43, 0x5A44,      0,      0,      0, /* 0x60 */
2386         0, 0x5A45,      0,      0, 0x5A46,      0,      0, 0x5A47, /* 0x60 */
2387         0,      0,      0,      0,      0, 0x5A48, 0x5A49, 0x5A4A, /* 0x70 */
2388         0,      0, 0x5A4B,      0,      0,      0,      0,      0, /* 0x70 */
2389         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2390    0x5A6D,      0,      0,      0,      0, 0x5A4C,      0,      0, /* 0x80 */
2391         0, 0x5A4D,      0,      0,      0,      0, 0x5A4E,      0, /* 0x90 */
2392    0x5A4F,      0, 0x5A50,      0, 0x5A51,      0,      0,      0, /* 0x90 */
2393         0, 0x5A52,      0,      0,      0,      0, 0x5A53, 0x5A54, /* 0xA0 */
2394    0x5A55,      0,      0,      0,      0, 0x5A56,      0,      0, /* 0xA0 */
2395         0, 0x5A57,      0, 0x5A58, 0x5A59, 0x5A5A,      0, 0x5A5B, /* 0xB0 */
2396    0x5A5C, 0x5A5D,      0,      0,      0,      0,      0, 0x5A5E, /* 0xB0 */
2397    0x5A5F, 0x5A60,      0, 0x5A61,      0, 0x5A62,      0,      0, /* 0xC0 */
2398         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2399         0, 0x5A63, 0x5A64,      0,      0, 0x5A65,      0, 0x5A66, /* 0xD0 */
2400         0,      0, 0x5A67,      0, 0x5A68,      0,      0,      0, /* 0xD0 */
2401    0x5A69,      0,      0, 0x5A6A,      0, 0x5A6B,      0, 0x5A6C, /* 0xE0 */
2402         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2403         0,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
2404         0,      0, 0x5A6E,      0, 0x5A6F, 0x5A70                  /* 0xF0 */
2405};
2406
2407/* ----------------------------------------------------------------------- */
2408
2409static sal_uInt16 const aImplUniToDBCSTab_JIS0212_87[] =
2410{
2411/*       0       1       2       3       4       5       6       7 */
2412/*       8       9       A       B       C       D       E       F */
2413                                    0x5A71, 0x5A72,      0, 0x5A73, /* 0x00 */
2414         0,      0,      0, 0x5A74,      0,      0, 0x5A75, 0x5A76, /* 0x00 */
2415    0x5A77,      0,      0, 0x5A78, 0x5A79,      0,      0,      0, /* 0x10 */
2416         0, 0x5A7A,      0,      0,      0,      0, 0x5A7B, 0x5A7C, /* 0x10 */
2417         0, 0x5A7D,      0, 0x5A7E,      0,      0,      0,      0, /* 0x20 */
2418    0x5B21,      0,      0,      0,      0,      0, 0x5B22, 0x5B23, /* 0x20 */
2419         0, 0x5B24, 0x5B25,      0,      0,      0,      0,      0, /* 0x30 */
2420         0, 0x5B26, 0x5B27,      0, 0x5B28, 0x5B29, 0x5B2A,      0, /* 0x30 */
2421    0x5B2B,      0,      0, 0x5B2C,      0, 0x5B2D,      0,      0, /* 0x40 */
2422         0,      0,      0,      0,      0, 0x5B2E,      0,      0, /* 0x40 */
2423         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2424    0x5B2F,      0,      0,      0,      0, 0x5B30,      0,      0, /* 0x50 */
2425         0, 0x5B31,      0,      0, 0x5B32, 0x5B33,      0,      0, /* 0x60 */
2426         0,      0,      0,      0,      0,      0,      0, 0x5B34, /* 0x60 */
2427         0, 0x5B35, 0x5B36,      0,      0,      0,      0,      0, /* 0x70 */
2428         0,      0,      0, 0x5B37,      0,      0,      0,      0, /* 0x70 */
2429         0,      0,      0, 0x5B38, 0x5B39, 0x5B3A, 0x5B3B, 0x5B3C, /* 0x80 */
2430    0x5B3D, 0x5B3E,      0, 0x5B3F, 0x5B40,      0,      0,      0, /* 0x80 */
2431    0x5B41,      0,      0, 0x5B42,      0, 0x5B43,      0, 0x5B44, /* 0x90 */
2432    0x5B45, 0x5B46,      0,      0,      0,      0, 0x5B47,      0, /* 0x90 */
2433    0x5B48,      0,      0, 0x5B49,      0,      0,      0, 0x5B4A, /* 0xA0 */
2434         0,      0,      0,      0, 0x5B4B, 0x5B4C, 0x5B4D,      0, /* 0xA0 */
2435         0, 0x5B4E,      0,      0,      0, 0x5B4F,      0,      0, /* 0xB0 */
2436         0,      0,      0,      0,      0,      0, 0x5B50, 0x5B51, /* 0xB0 */
2437         0, 0x5B52,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2438    0x5B53, 0x5B54, 0x5B55,      0,      0,      0, 0x5B56,      0, /* 0xC0 */
2439         0,      0,      0,      0,      0, 0x5B57, 0x5B58,      0, /* 0xD0 */
2440         0, 0x5B59, 0x5B5A,      0, 0x5B5B,      0,      0, 0x5B5C, /* 0xD0 */
2441         0,      0, 0x5B5D, 0x5B5E, 0x5B5F,      0,      0,      0, /* 0xE0 */
2442         0,      0, 0x5B60, 0x5B61,      0, 0x5B62,      0,      0, /* 0xE0 */
2443         0, 0x5B63,      0, 0x5B64,      0,      0,      0,      0, /* 0xF0 */
2444    0x5B65,      0, 0x5B66,      0,      0,      0,      0, 0x5B67  /* 0xF0 */
2445};
2446
2447/* ----------------------------------------------------------------------- */
2448
2449static sal_uInt16 const aImplUniToDBCSTab_JIS0212_88[] =
2450{
2451/*       0       1       2       3       4       5       6       7 */
2452/*       8       9       A       B       C       D       E       F */
2453            0x5B68,      0, 0x5B69,      0,      0, 0x5B6A,      0, /* 0x00 */
2454         0, 0x5B6B, 0x5B6C, 0x5B6D,      0,      0,      0,      0, /* 0x00 */
2455    0x5B6E,      0, 0x5B70, 0x5B71, 0x5B72,      0,      0,      0, /* 0x10 */
2456    0x5B73, 0x5B6F, 0x5B74, 0x5B75, 0x5B76,      0, 0x5B77, 0x5B78, /* 0x10 */
2457         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2458    0x5B79,      0,      0,      0,      0, 0x5B7A, 0x5B7B,      0, /* 0x20 */
2459    0x5B7C,      0, 0x5B7D,      0,      0, 0x5B7E,      0,      0, /* 0x30 */
2460         0,      0, 0x5C21,      0, 0x5C22,      0,      0,      0, /* 0x30 */
2461         0, 0x5C23,      0, 0x5C24,      0, 0x5C25,      0,      0, /* 0x40 */
2462    0x5C26, 0x5C27, 0x5C28, 0x5C29,      0,      0, 0x5C2A,      0, /* 0x40 */
2463         0, 0x5C2B,      0,      0,      0, 0x5C2C, 0x5C2D,      0, /* 0x50 */
2464    0x5C2E,      0, 0x5C2F,      0, 0x5C30,      0,      0, 0x5C31, /* 0x50 */
2465    0x5C32,      0,      0,      0, 0x5C33,      0,      0,      0, /* 0x60 */
2466         0, 0x5C34,      0,      0,      0,      0,      0,      0, /* 0x60 */
2467         0, 0x5C35,      0,      0,      0,      0,      0,      0, /* 0x70 */
2468         0, 0x5C36,      0, 0x5C37,      0,      0,      0,      0, /* 0x70 */
2469    0x5C38,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2470         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2471         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
2472    0x5C39,      0, 0x5C3A, 0x5C3B, 0x5C3C,      0,      0, 0x5C3D, /* 0x90 */
2473    0x5C3E,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2474    0x5C3F,      0, 0x5C40,      0,      0,      0,      0,      0, /* 0xA0 */
2475         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2476         0,      0, 0x5C41,      0,      0, 0x5C42, 0x5C43,      0, /* 0xB0 */
2477    0x5C44,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2478         0,      0, 0x5C45, 0x5C46, 0x5C47, 0x5C48, 0x5C49,      0, /* 0xC0 */
2479         0, 0x5C4A, 0x5C4B, 0x5C4C,      0,      0,      0,      0, /* 0xD0 */
2480         0,      0,      0, 0x5C4D,      0,      0, 0x5C4E,      0, /* 0xD0 */
2481         0,      0,      0,      0,      0,      0,      0, 0x5C4F, /* 0xE0 */
2482         0,      0,      0,      0,      0,      0,      0, 0x5C50, /* 0xE0 */
2483    0x5C51, 0x5C52,      0,      0,      0, 0x5C53,      0, 0x5C54  /* 0xF0 */
2484                                                                    /* 0xF0 */
2485};
2486
2487/* ----------------------------------------------------------------------- */
2488
2489static sal_uInt16 const aImplUniToDBCSTab_JIS0212_89[] =
2490{
2491/*       0       1       2       3       4       5       6       7 */
2492/*       8       9       A       B       C       D       E       F */
2493            0x5C55,      0,      0,      0,      0, 0x5C56,      0, /* 0x00 */
2494         0,      0,      0,      0,      0, 0x5C57, 0x5C58, 0x5C59, /* 0x00 */
2495         0,      0,      0,      0,      0, 0x5C5A, 0x5C5B,      0, /* 0x10 */
2496    0x5C5C, 0x5C5D, 0x5C5E,      0, 0x5C5F,      0,      0,      0, /* 0x10 */
2497    0x5C60,      0,      0,      0,      0,      0, 0x5C61, 0x5C62, /* 0x20 */
2498    0x5C63,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2499    0x5C64, 0x5C65, 0x5C66,      0,      0, 0x5C67,      0,      0, /* 0x30 */
2500         0, 0x5C68, 0x5C69,      0,      0,      0, 0x5C6A,      0, /* 0x30 */
2501    0x5C6B,      0, 0x5C6C,      0,      0, 0x5C6D, 0x5C6E,      0, /* 0x40 */
2502         0, 0x5C6F,      0,      0,      0,      0,      0, 0x5C70, /* 0x40 */
2503         0,      0, 0x5C71,      0,      0,      0,      0, 0x5C72, /* 0x50 */
2504         0,      0, 0x5C73, 0x5C74, 0x5C75,      0,      0,      0, /* 0x50 */
2505         0, 0x5C76, 0x5C77, 0x5C78,      0,      0,      0,      0, /* 0x60 */
2506         0,      0,      0, 0x5C79,      0,      0, 0x5C7A,      0, /* 0x60 */
2507    0x5C7B,      0,      0, 0x5C7C,      0, 0x5C7D,      0,      0, /* 0x70 */
2508         0,      0, 0x5C7E, 0x5D21, 0x5D22, 0x5D23,      0,      0, /* 0x70 */
2509         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2510         0, 0x5D24,      0,      0,      0, 0x5D25,      0,      0, /* 0x80 */
2511    0x5D26,      0,      0,      0, 0x5D27, 0x5D28,      0,      0, /* 0x90 */
2512         0,      0,      0, 0x5D29, 0x5D2A,      0,      0, 0x5D2B, /* 0x90 */
2513    0x5D2C,      0,      0,      0,      0, 0x5D2D,      0,      0, /* 0xA0 */
2514         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2515    0x5D2E,      0,      0,      0, 0x5D2F, 0x5D30, 0x5D31, 0x5D32, /* 0xB0 */
2516         0,      0,      0,      0, 0x5D33,      0,      0,      0, /* 0xB0 */
2517         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2518         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2519         0,      0,      0,      0, 0x5D34, 0x5D35, 0x5D36, 0x5D37, /* 0xD0 */
2520    0x5D38,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2521         0,      0,      0,      0,      0, 0x5D39,      0,      0, /* 0xE0 */
2522         0, 0x5D3A,      0, 0x5D3B,      0, 0x5D3C,      0,      0, /* 0xE0 */
2523         0, 0x5D3D,      0, 0x5D3E,      0,      0, 0x5D3F,      0, /* 0xF0 */
2524         0, 0x5D40,      0,      0,      0, 0x5D41,      0, 0x5D42  /* 0xF0 */
2525};
2526
2527/* ----------------------------------------------------------------------- */
2528
2529static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8A[] =
2530{
2531/*       0       1       2       3       4       5       6       7 */
2532/*       8       9       A       B       C       D       E       F */
2533                                    0x5D43, 0x5D44,      0, 0x5D45, /* 0x00 */
2534         0,      0,      0,      0,      0,      0,      0, 0x5D46, /* 0x00 */
2535         0, 0x5D47, 0x5D48,      0, 0x5D49, 0x5D4A,      0,      0, /* 0x10 */
2536         0,      0,      0,      0,      0,      0, 0x5D4B,      0, /* 0x10 */
2537    0x5D4C,      0, 0x5D4D,      0, 0x5D4E,      0, 0x5D4F,      0, /* 0x20 */
2538         0,      0,      0, 0x5D50, 0x5D51,      0,      0, 0x5D52, /* 0x20 */
2539         0,      0,      0,      0,      0, 0x5D53,      0, 0x5D54, /* 0x30 */
2540         0,      0,      0,      0,      0, 0x5D55, 0x5D56,      0, /* 0x30 */
2541    0x5D57,      0,      0, 0x5D58,      0, 0x5D59,      0, 0x5D5A, /* 0x40 */
2542         0, 0x5D5B,      0,      0,      0, 0x5D5C, 0x5D5D,      0, /* 0x40 */
2543         0,      0,      0, 0x5D5E,      0,      0, 0x5D5F, 0x5D60, /* 0x50 */
2544    0x5D61,      0,      0,      0, 0x5D62, 0x5D63,      0,      0, /* 0x50 */
2545         0, 0x5D64,      0,      0,      0, 0x5D65,      0, 0x5D66, /* 0x60 */
2546         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
2547         0,      0,      0,      0,      0, 0x5D67, 0x5D68, 0x5D69, /* 0x70 */
2548         0, 0x5D6A, 0x5D6B, 0x5D6C,      0,      0, 0x5D6D, 0x5D6E, /* 0x70 */
2549    0x5D6F,      0,      0, 0x5D70,      0,      0, 0x5D71,      0, /* 0x80 */
2550         0,      0,      0, 0x5D72,      0,      0,      0, 0x5D73, /* 0x80 */
2551    0x5D74,      0, 0x5D75,      0,      0,      0, 0x5D76, 0x5D77, /* 0x90 */
2552         0, 0x5D78,      0,      0,      0,      0,      0, 0x5D79, /* 0x90 */
2553         0,      0,      0,      0,      0,      0,      0, 0x5D7A, /* 0xA0 */
2554         0, 0x5D7B,      0,      0,      0,      0, 0x5D7C, 0x5D7D, /* 0xA0 */
2555         0,      0,      0, 0x5D7E,      0,      0, 0x5E21, 0x5E22, /* 0xB0 */
2556         0,      0,      0, 0x5E23,      0,      0, 0x5E24,      0, /* 0xB0 */
2557         0,      0,      0, 0x5E25,      0,      0, 0x5E26,      0, /* 0xC0 */
2558    0x5E27, 0x5E28, 0x5E29,      0,      0,      0,      0,      0, /* 0xC0 */
2559         0, 0x5E2A,      0, 0x5E2B, 0x5E2C, 0x5E2D,      0, 0x5E2E, /* 0xD0 */
2560         0,      0,      0,      0,      0, 0x5E2F,      0, 0x5E30, /* 0xD0 */
2561         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2562         0,      0,      0,      0, 0x5E31,      0,      0,      0, /* 0xE0 */
2563    0x5E32,      0,      0,      0, 0x5E33, 0x5E34, 0x5E35,      0, /* 0xF0 */
2564         0,      0,      0,      0, 0x5E36,      0,      0, 0x5E37  /* 0xF0 */
2565};
2566
2567/* ----------------------------------------------------------------------- */
2568
2569static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8B[] =
2570{
2571/*       0       1       2       3       4       5       6       7 */
2572/*       8       9       A       B       C       D       E       F */
2573                                            0x5E38, 0x5E39,      0, /* 0x00 */
2574         0,      0, 0x5E3F, 0x5E3A,      0,      0,      0,      0, /* 0x00 */
2575         0, 0x5E3B,      0,      0,      0,      0,      0,      0, /* 0x10 */
2576         0,      0,      0,      0, 0x5E3C,      0, 0x5E3D, 0x5E3E, /* 0x10 */
2577         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2578         0,      0,      0,      0,      0, 0x5E40,      0,      0, /* 0x20 */
2579    0x5E41,      0,      0,      0,      0,      0,      0, 0x5E42, /* 0x30 */
2580         0,      0,      0,      0, 0x5E43,      0,      0,      0, /* 0x30 */
2581         0,      0, 0x5E44, 0x5E45, 0x5E46, 0x5E47, 0x5E48,      0, /* 0x40 */
2582    0x5E49,      0,      0,      0,      0, 0x5E4E,      0,      0, /* 0x40 */
2583         0,      0, 0x5E4A, 0x5E4B, 0x5E4C,      0,      0,      0, /* 0x50 */
2584         0, 0x5E4D,      0,      0,      0,      0, 0x5E4F,      0, /* 0x50 */
2585         0,      0,      0, 0x5E50,      0,      0,      0,      0, /* 0x60 */
2586         0,      0,      0,      0,      0, 0x5E51,      0,      0, /* 0x60 */
2587         0,      0,      0,      0,      0,      0, 0x5E52,      0, /* 0x70 */
2588    0x5E53, 0x5E54,      0,      0, 0x5E55,      0, 0x5E56,      0, /* 0x70 */
2589         0, 0x5E57,      0,      0, 0x5E58, 0x5E59,      0,      0, /* 0x80 */
2590         0,      0,      0, 0x5E5A,      0, 0x5E5B,      0, 0x5E5C, /* 0x80 */
2591         0,      0,      0,      0, 0x5E5D, 0x5E5E,      0,      0, /* 0x90 */
2592         0,      0,      0,      0, 0x5E5F,      0, 0x5E60, 0x5E61  /* 0x90 */
2593};
2594
2595/* ----------------------------------------------------------------------- */
2596
2597static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8C[] =
2598{
2599/*       0       1       2       3       4       5       6       7 */
2600/*       8       9       A       B       C       D       E       F */
2601                                                                    /* 0x30 */
2602    0x5E62, 0x5E63,      0,      0,      0, 0x5E64, 0x5E65,      0, /* 0x30 */
2603         0,      0,      0,      0,      0, 0x5E66,      0, 0x5E67, /* 0x40 */
2604         0, 0x5E68,      0, 0x5E69,      0,      0,      0, 0x5E6A, /* 0x40 */
2605         0, 0x5E6B,      0, 0x5E6C, 0x5E6D,      0,      0, 0x5E6E, /* 0x50 */
2606    0x5E6F, 0x5E72,      0, 0x5E70,      0, 0x5E71,      0,      0, /* 0x50 */
2607         0,      0,      0, 0x5E73, 0x5E74,      0, 0x5E75,      0, /* 0x60 */
2608    0x5E76, 0x5E77,      0,      0,      0, 0x5E78,      0,      0, /* 0x60 */
2609         0,      0,      0, 0x5E79,      0, 0x5E7A, 0x5E7B,      0, /* 0x70 */
2610         0,      0,      0, 0x5E7C,      0,      0, 0x5E7D,      0, /* 0x70 */
2611         0,      0,      0,      0,      0,      0, 0x5E7E, 0x5F21, /* 0x80 */
2612         0,      0,      0, 0x5F22,      0,      0,      0,      0, /* 0x80 */
2613    0x5F23,      0, 0x5F24, 0x5F25,      0,      0,      0,      0, /* 0x90 */
2614         0, 0x5F26,      0, 0x5F27, 0x5F28,      0,      0,      0, /* 0x90 */
2615         0,      0,      0,      0, 0x5F29,      0,      0,      0, /* 0xA0 */
2616         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2617         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
2618         0, 0x5F2A, 0x5F2B,      0,      0,      0,      0,      0, /* 0xB0 */
2619         0,      0,      0,      0,      0, 0x5F2C, 0x5F2D,      0, /* 0xC0 */
2620         0, 0x5F2E,      0, 0x5F2F,      0,      0,      0, 0x5F30, /* 0xC0 */
2621         0,      0,      0,      0,      0, 0x5F32, 0x5F31,      0, /* 0xD0 */
2622         0, 0x5F33,      0,      0,      0, 0x5F34,      0,      0, /* 0xD0 */
2623         0, 0x5F35,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2624    0x5F36,      0,      0,      0, 0x5F37,      0,      0, 0x5F38, /* 0xE0 */
2625    0x5F39,      0, 0x5F3A,      0,      0, 0x5F3B,      0, 0x5F3C, /* 0xF0 */
2626    0x5F3D,      0,      0,      0,      0,      0, 0x5F3E, 0x5F3F  /* 0xF0 */
2627};
2628
2629/* ----------------------------------------------------------------------- */
2630
2631static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8D[] =
2632{
2633/*       0       1       2       3       4       5       6       7 */
2634/*       8       9       A       B       C       D       E       F */
2635            0x5F40,      0, 0x5F41,      0,      0,      0,      0, /* 0x00 */
2636         0, 0x5F42,      0,      0,      0,      0,      0,      0, /* 0x00 */
2637         0,      0, 0x5F43,      0,      0,      0,      0, 0x5F44, /* 0x10 */
2638         0,      0,      0, 0x5F45,      0,      0,      0,      0, /* 0x10 */
2639         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2640         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2641         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
2642         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
2643         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
2644         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
2645         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2646         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2647         0,      0,      0,      0,      0, 0x5F46,      0,      0, /* 0x60 */
2648         0, 0x5F47,      0,      0, 0x5F48,      0, 0x5F49,      0, /* 0x60 */
2649         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2650         0,      0,      0,      0,      0,      0,      0, 0x5F4A, /* 0x70 */
2651         0,      0, 0x5F4B,      0, 0x5F4C,      0,      0,      0, /* 0x80 */
2652    0x5F4D,      0,      0,      0,      0, 0x5F4E,      0,      0, /* 0x80 */
2653    0x5F4F, 0x5F50,      0,      0,      0, 0x5F51,      0,      0, /* 0x90 */
2654         0,      0,      0,      0,      0,      0, 0x5F52, 0x5F53, /* 0x90 */
2655    0x5F54,      0,      0,      0,      0,      0, 0x5F55,      0, /* 0xA0 */
2656         0,      0,      0, 0x5F56, 0x5F57,      0,      0, 0x5F58, /* 0xA0 */
2657         0,      0, 0x5F59,      0,      0, 0x5F5A,      0, 0x5F5B, /* 0xB0 */
2658         0, 0x5F5C,      0, 0x5F5D, 0x5F6F,      0,      0,      0, /* 0xB0 */
2659    0x5F5E,      0,      0,      0,      0, 0x5F5F, 0x5F60, 0x5F61, /* 0xC0 */
2660    0x5F62,      0, 0x5F63,      0,      0,      0, 0x5F64,      0, /* 0xC0 */
2661         0, 0x5F65,      0,      0, 0x5F66, 0x5F67,      0, 0x5F68, /* 0xD0 */
2662         0, 0x5F69,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2663         0,      0,      0,      0, 0x5F6A, 0x5F6B,      0, 0x5F6C, /* 0xE0 */
2664         0,      0,      0,      0, 0x5F6D,      0,      0,      0, /* 0xE0 */
2665    0x5F6E, 0x5F70, 0x5F71,      0, 0x5F72,      0,      0,      0, /* 0xF0 */
2666         0,      0,      0,      0,      0, 0x5F73                  /* 0xF0 */
2667};
2668
2669/* ----------------------------------------------------------------------- */
2670
2671static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8E[] =
2672{
2673/*       0       1       2       3       4       5       6       7 */
2674/*       8       9       A       B       C       D       E       F */
2675            0x5F74,      0,      0, 0x5F75, 0x5F76, 0x5F77,      0, /* 0x00 */
2676         0,      0,      0, 0x5F78,      0,      0,      0,      0, /* 0x00 */
2677         0, 0x5F79,      0,      0, 0x5F7A,      0, 0x5F7B,      0, /* 0x10 */
2678         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
2679    0x5F7C, 0x5F7D, 0x5F7E, 0x6021,      0,      0, 0x6022, 0x6023, /* 0x20 */
2680         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2681         0, 0x6024,      0, 0x6025,      0,      0, 0x6026, 0x6027, /* 0x30 */
2682    0x6028, 0x6029,      0,      0,      0, 0x602A,      0,      0, /* 0x30 */
2683    0x602B, 0x602C,      0,      0,      0,      0,      0,      0, /* 0x40 */
2684         0,      0,      0, 0x602D,      0, 0x602E, 0x602F, 0x6030, /* 0x40 */
2685         0,      0,      0,      0, 0x6031,      0,      0,      0, /* 0x50 */
2686         0,      0,      0, 0x6032, 0x6033, 0x6034, 0x6035,      0, /* 0x50 */
2687         0, 0x6036, 0x6037,      0,      0,      0,      0,      0, /* 0x60 */
2688         0, 0x6038,      0,      0, 0x6039, 0x603A,      0, 0x603B, /* 0x60 */
2689    0x603C, 0x603D,      0,      0,      0,      0,      0,      0, /* 0x70 */
2690         0, 0x603E, 0x603F, 0x6040,      0,      0,      0,      0, /* 0x70 */
2691         0,      0, 0x6041, 0x6042,      0,      0,      0,      0, /* 0x80 */
2692         0, 0x6043,      0,      0,      0,      0,      0,      0, /* 0x80 */
2693    0x6044,      0, 0x6045,      0,      0, 0x6046,      0,      0, /* 0x90 */
2694         0,      0, 0x6047, 0x6048,      0, 0x6049, 0x604A,      0, /* 0x90 */
2695         0,      0, 0x604B,      0,      0,      0,      0, 0x604C, /* 0xA0 */
2696         0, 0x604D,      0,      0,      0, 0x604E, 0x604F,      0, /* 0xA0 */
2697         0,      0,      0, 0x6050,      0, 0x6051,      0,      0, /* 0xB0 */
2698         0,      0, 0x6052, 0x6053,      0,      0,      0,      0, /* 0xB0 */
2699    0x6054, 0x6055,      0, 0x6056, 0x6057,      0,      0, 0x6058, /* 0xC0 */
2700         0,      0,      0,      0,      0,      0,      0, 0x6059, /* 0xC0 */
2701         0, 0x605A,      0,      0, 0x605B,      0,      0,      0, /* 0xD0 */
2702         0,      0,      0,      0, 0x605C,      0,      0,      0, /* 0xD0 */
2703         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2704    0x605D,      0,      0,      0,      0, 0x6064, 0x605E,      0, /* 0xE0 */
2705    0x605F, 0x6060,      0,      0,      0,      0,      0, 0x6061, /* 0xF0 */
2706         0, 0x6062, 0x6063                                          /* 0xF0 */
2707};
2708
2709/* ----------------------------------------------------------------------- */
2710
2711static sal_uInt16 const aImplUniToDBCSTab_JIS0212_8F[] =
2712{
2713/*       0       1       2       3       4       5       6       7 */
2714/*       8       9       A       B       C       D       E       F */
2715    0x6065,      0, 0x6066,      0,      0,      0,      0, 0x6067, /* 0x00 */
2716    0x6068,      0,      0,      0,      0,      0,      0, 0x6069, /* 0x00 */
2717    0x606A,      0,      0,      0,      0,      0, 0x606B, 0x606C, /* 0x10 */
2718    0x606D,      0,      0,      0,      0,      0, 0x606E,      0, /* 0x10 */
2719    0x606F, 0x6070,      0, 0x6071,      0, 0x6072,      0, 0x6073, /* 0x20 */
2720    0x6074,      0,      0,      0, 0x6075, 0x6076, 0x6077,      0, /* 0x20 */
2721         0,      0,      0,      0, 0x6078, 0x6079, 0x607A, 0x607B, /* 0x30 */
2722         0,      0, 0x607C,      0,      0,      0,      0,      0, /* 0x30 */
2723    0x607D, 0x607E,      0, 0x6121,      0,      0,      0, 0x6122, /* 0x40 */
2724         0,      0,      0,      0,      0,      0,      0, 0x6123, /* 0x40 */
2725         0, 0x6124, 0x6125, 0x6126, 0x6127, 0x6128,      0,      0, /* 0x50 */
2726    0x6129,      0,      0,      0,      0, 0x612A, 0x612B,      0, /* 0x50 */
2727         0,      0,      0,      0,      0, 0x612C,      0,      0, /* 0x60 */
2728         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
2729         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2730         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2731         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2732         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2733         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
2734         0,      0,      0,      0,      0, 0x612D,      0,      0, /* 0x90 */
2735    0x612E, 0x612F,      0,      0, 0x6130, 0x6131, 0x6132,      0, /* 0xA0 */
2736         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2737         0,      0,      0,      0,      0, 0x6133, 0x6134,      0, /* 0xB0 */
2738    0x6135,      0,      0,      0,      0,      0, 0x6136,      0, /* 0xB0 */
2739    0x6137, 0x6138,      0,      0,      0,      0, 0x6139,      0, /* 0xC0 */
2740         0,      0, 0x613A, 0x613B,      0, 0x613C,      0,      0, /* 0xC0 */
2741    0x613D,      0, 0x613E, 0x613F,      0, 0x6140,      0,      0, /* 0xD0 */
2742         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
2743    0x6141,      0,      0, 0x6142, 0x6143,      0,      0,      0, /* 0xE0 */
2744    0x6144,      0,      0,      0,      0,      0, 0x6145,      0, /* 0xE0 */
2745         0, 0x6146,      0,      0,      0, 0x6147, 0x6148,      0, /* 0xF0 */
2746         0,      0,      0, 0x6149,      0,      0, 0x614A          /* 0xF0 */
2747};
2748
2749/* ----------------------------------------------------------------------- */
2750
2751static sal_uInt16 const aImplUniToDBCSTab_JIS0212_90[] =
2752{
2753/*       0       1       2       3       4       5       6       7 */
2754/*       8       9       A       B       C       D       E       F */
2755                    0x614B,      0, 0x614C,      0,      0,      0, /* 0x00 */
2756    0x614D,      0,      0,      0, 0x614E,      0,      0,      0, /* 0x00 */
2757         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
2758    0x614F,      0,      0, 0x6150,      0,      0,      0,      0, /* 0x10 */
2759         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2760    0x6151, 0x6152, 0x6154,      0, 0x6155, 0x6156,      0, 0x6153, /* 0x20 */
2761         0,      0,      0, 0x6157, 0x6158,      0,      0, 0x6159, /* 0x30 */
2762         0,      0,      0,      0,      0,      0,      0, 0x615A, /* 0x30 */
2763         0,      0,      0, 0x615B, 0x615C,      0,      0,      0, /* 0x40 */
2764         0,      0,      0,      0, 0x615D,      0,      0,      0, /* 0x40 */
2765         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2766         0,      0,      0, 0x615E,      0, 0x615F,      0,      0, /* 0x50 */
2767         0,      0, 0x6160,      0,      0,      0, 0x6161, 0x6162, /* 0x60 */
2768         0,      0,      0,      0, 0x6163,      0,      0,      0, /* 0x60 */
2769    0x6164,      0,      0,      0, 0x6165,      0,      0,      0, /* 0x70 */
2770         0, 0x6166,      0,      0,      0,      0,      0,      0, /* 0x70 */
2771         0,      0,      0,      0,      0, 0x6167,      0,      0, /* 0x80 */
2772    0x6168,      0,      0, 0x6169, 0x616A,      0, 0x616B,      0, /* 0x80 */
2773    0x616C,      0,      0,      0,      0, 0x616D,      0, 0x616E, /* 0x90 */
2774    0x616F, 0x6170,      0, 0x6171,      0,      0,      0,      0, /* 0x90 */
2775    0x6172, 0x6173, 0x6174,      0,      0, 0x6175,      0,      0, /* 0xA0 */
2776         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
2777    0x6176,      0, 0x6177, 0x6178, 0x6179,      0, 0x617A,      0, /* 0xB0 */
2778         0,      0,      0,      0,      0, 0x617B, 0x617D,      0, /* 0xB0 */
2779         0,      0,      0, 0x617E, 0x6221, 0x6222,      0, 0x6223, /* 0xC0 */
2780    0x6224,      0,      0,      0, 0x617C,      0,      0,      0, /* 0xC0 */
2781         0,      0, 0x622D,      0,      0, 0x6225,      0, 0x6226, /* 0xD0 */
2782    0x6227, 0x6228,      0,      0, 0x6229, 0x622A,      0, 0x622B, /* 0xD0 */
2783         0,      0,      0,      0,      0, 0x622C,      0,      0, /* 0xE0 */
2784         0,      0,      0, 0x622F,      0,      0,      0, 0x6230, /* 0xE0 */
2785    0x6231,      0,      0,      0, 0x6232,      0, 0x622E,      0, /* 0xF0 */
2786         0,      0,      0,      0,      0,      0, 0x6233, 0x6234  /* 0xF0 */
2787};
2788
2789/* ----------------------------------------------------------------------- */
2790
2791static sal_uInt16 const aImplUniToDBCSTab_JIS0212_91[] =
2792{
2793/*       0       1       2       3       4       5       6       7 */
2794/*       8       9       A       B       C       D       E       F */
2795    0x6235,      0,      0,      0, 0x6236, 0x6237, 0x6238,      0, /* 0x00 */
2796    0x6239,      0,      0,      0,      0, 0x623A,      0,      0, /* 0x00 */
2797    0x623B,      0,      0,      0, 0x623C,      0, 0x623D, 0x623E, /* 0x10 */
2798    0x623F,      0, 0x6240,      0, 0x6241,      0, 0x6242,      0, /* 0x10 */
2799    0x6243,      0, 0x6245, 0x6246,      0, 0x6244,      0, 0x6247, /* 0x20 */
2800         0, 0x6248,      0,      0,      0,      0, 0x6249, 0x624A, /* 0x20 */
2801         0, 0x624B,      0,      0, 0x624C,      0, 0x624D, 0x624E, /* 0x30 */
2802         0, 0x624F, 0x6250,      0, 0x6251, 0x6252,      0,      0, /* 0x30 */
2803         0,      0,      0, 0x6253,      0,      0,      0, 0x6254, /* 0x40 */
2804    0x6255,      0,      0,      0,      0,      0,      0, 0x6256, /* 0x40 */
2805         0,      0,      0, 0x6257,      0,      0,      0, 0x6258, /* 0x50 */
2806         0, 0x6259, 0x625A, 0x625B,      0,      0,      0,      0, /* 0x50 */
2807         0, 0x625C,      0,      0, 0x625D,      0,      0, 0x625E, /* 0x60 */
2808         0,      0,      0,      0,      0, 0x625F,      0,      0, /* 0x60 */
2809         0,      0,      0,      0, 0x6260,      0,      0,      0, /* 0x70 */
2810         0, 0x6261, 0x6262, 0x6263,      0,      0,      0,      0, /* 0x70 */
2811         0, 0x6264,      0, 0x6265,      0, 0x6266, 0x6267,      0, /* 0x80 */
2812         0,      0, 0x6268,      0,      0,      0, 0x6269,      0, /* 0x80 */
2813         0, 0x626A,      0, 0x626B, 0x626C, 0x626D,      0,      0, /* 0x90 */
2814    0x626E,      0,      0,      0,      0,      0, 0x626F,      0, /* 0x90 */
2815         0, 0x6270,      0,      0,      0,      0, 0x6271,      0, /* 0xA0 */
2816    0x6272,      0,      0,      0, 0x6273, 0x6274, 0x6275,      0, /* 0xA0 */
2817    0x6276, 0x6277, 0x6278, 0x6279,      0,      0, 0x627A,      0, /* 0xB0 */
2818         0,      0,      0, 0x627B, 0x627C, 0x627D,      0, 0x627E, /* 0xB0 */
2819         0,      0, 0x6321, 0x6322,      0, 0x6323,      0,      0, /* 0xC0 */
2820         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2821         0,      0,      0, 0x6324, 0x6325,      0,      0, 0x6326, /* 0xD0 */
2822         0, 0x6327, 0x6328,      0,      0,      0, 0x6329,      0, /* 0xD0 */
2823         0,      0,      0,      0, 0x632A, 0x632B,      0,      0, /* 0xE0 */
2824         0, 0x632C, 0x632D,      0, 0x632E, 0x632F, 0x6330, 0x6331, /* 0xE0 */
2825    0x6332, 0x6333,      0,      0,      0,      0,      0, 0x6334, /* 0xF0 */
2826         0, 0x6335,      0, 0x6336,      0, 0x6337                  /* 0xF0 */
2827};
2828
2829/* ----------------------------------------------------------------------- */
2830
2831static sal_uInt16 const aImplUniToDBCSTab_JIS0212_92[] =
2832{
2833/*       0       1       2       3       4       5       6       7 */
2834/*       8       9       A       B       C       D       E       F */
2835    0x6338, 0x6339,      0,      0, 0x633A, 0x633B, 0x633C, 0x633D, /* 0x00 */
2836         0, 0x633E, 0x633F,      0, 0x6340,      0,      0,      0, /* 0x00 */
2837    0x6341,      0, 0x6342, 0x6343,      0,      0, 0x6344,      0, /* 0x10 */
2838    0x6345,      0,      0,      0, 0x6346, 0x6347,      0,      0, /* 0x10 */
2839         0,      0,      0, 0x6348, 0x6349, 0x634A, 0x634B,      0, /* 0x20 */
2840    0x634C,      0,      0,      0,      0,      0, 0x634D, 0x634E, /* 0x20 */
2841    0x634F,      0,      0, 0x6350,      0, 0x6351, 0x6352,      0, /* 0x30 */
2842    0x6353, 0x6354, 0x6355,      0, 0x6356,      0, 0x6357,      0, /* 0x30 */
2843    0x6358,      0, 0x6359, 0x635A,      0,      0, 0x635B, 0x635C, /* 0x40 */
2844         0,      0, 0x635D,      0,      0, 0x635E, 0x635F, 0x6360, /* 0x40 */
2845         0, 0x6361,      0,      0,      0,      0,      0,      0, /* 0x50 */
2846    0x6362, 0x6363,      0,      0, 0x6364, 0x6365,      0,      0, /* 0x50 */
2847    0x6366, 0x6367,      0,      0,      0, 0x6368,      0, 0x6369, /* 0x60 */
2848    0x636A, 0x636B,      0,      0,      0,      0, 0x636C, 0x636D, /* 0x60 */
2849    0x636E,      0,      0,      0,      0, 0x636F, 0x6370, 0x6371, /* 0x70 */
2850    0x6372, 0x6373,      0, 0x6374, 0x6375, 0x6376,      0, 0x6377, /* 0x70 */
2851         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
2852    0x6378, 0x6379, 0x637A,      0,      0, 0x637B, 0x637C,      0, /* 0x80 */
2853         0,      0, 0x637D,      0,      0,      0,      0, 0x637E, /* 0x90 */
2854         0, 0x6421,      0,      0,      0,      0,      0, 0x6422, /* 0x90 */
2855    0x6423,      0,      0,      0, 0x6424, 0x6425,      0, 0x6426, /* 0xA0 */
2856    0x6427,      0,      0, 0x6428,      0,      0,      0, 0x6429, /* 0xA0 */
2857         0,      0, 0x642A,      0,      0,      0, 0x642B,      0, /* 0xB0 */
2858    0x642C,      0, 0x642D, 0x642E, 0x642F, 0x6430,      0, 0x6431, /* 0xB0 */
2859    0x6432, 0x6433, 0x6434, 0x6435,      0, 0x6436, 0x6437, 0x6438, /* 0xC0 */
2860    0x6439,      0,      0, 0x643A, 0x643B, 0x643C, 0x643D,      0, /* 0xC0 */
2861    0x643E,      0,      0, 0x643F,      0, 0x6440,      0, 0x6441, /* 0xD0 */
2862    0x6442, 0x6443,      0,      0, 0x6444, 0x6445,      0, 0x6446, /* 0xD0 */
2863    0x6447, 0x6448,      0, 0x6449,      0, 0x644A,      0, 0x644B, /* 0xE0 */
2864    0x644C,      0,      0,      0, 0x644D,      0, 0x644E,      0, /* 0xE0 */
2865    0x644F,      0,      0,      0,      0,      0,      0,      0, /* 0xF0 */
2866         0, 0x6450,      0, 0x6451,      0,      0,      0, 0x6452  /* 0xF0 */
2867};
2868
2869/* ----------------------------------------------------------------------- */
2870
2871static sal_uInt16 const aImplUniToDBCSTab_JIS0212_93[] =
2872{
2873/*       0       1       2       3       4       5       6       7 */
2874/*       8       9       A       B       C       D       E       F */
2875    0x6453,      0, 0x6454,      0,      0,      0,      0,      0, /* 0x00 */
2876    0x6455,      0,      0,      0,      0, 0x6456,      0,      0, /* 0x00 */
2877         0, 0x6457,      0,      0, 0x6458, 0x6459,      0,      0, /* 0x10 */
2878         0,      0,      0,      0, 0x645A, 0x645B, 0x645C, 0x645D, /* 0x10 */
2879         0, 0x645E,      0,      0, 0x645F, 0x6460,      0, 0x6461, /* 0x20 */
2880         0, 0x6462, 0x6463,      0,      0,      0,      0,      0, /* 0x20 */
2881         0,      0,      0, 0x6464, 0x6465,      0, 0x6466, 0x6467, /* 0x30 */
2882         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
2883         0,      0,      0,      0,      0,      0,      0, 0x6468, /* 0x40 */
2884    0x6469, 0x646A,      0,      0,      0,      0,      0,      0, /* 0x40 */
2885    0x646B, 0x646C, 0x646D,      0,      0, 0x646E,      0, 0x646F, /* 0x50 */
2886    0x6470,      0, 0x6471,      0,      0,      0, 0x6472,      0, /* 0x50 */
2887         0,      0,      0,      0, 0x6473, 0x6474,      0, 0x6475, /* 0x60 */
2888         0, 0x6476, 0x6477,      0,      0, 0x6478,      0, 0x6479, /* 0x60 */
2889    0x647A, 0x647B,      0, 0x647C, 0x647D,      0, 0x647E,      0, /* 0x70 */
2890         0,      0, 0x6521,      0,      0, 0x6522,      0, 0x6523, /* 0x70 */
2891    0x6524, 0x6525, 0x6526,      0,      0,      0,      0,      0, /* 0x80 */
2892    0x6527,      0, 0x6528, 0x6529,      0, 0x652A,      0, 0x652B, /* 0x80 */
2893         0,      0, 0x652C,      0,      0, 0x652D,      0,      0, /* 0x90 */
2894    0x652E,      0,      0, 0x652F,      0,      0, 0x6530,      0, /* 0x90 */
2895         0, 0x6531,      0, 0x6532, 0x6533,      0, 0x6534,      0, /* 0xA0 */
2896    0x6535, 0x653B,      0, 0x6536,      0,      0,      0,      0, /* 0xA0 */
2897         0,      0,      0,      0, 0x6537, 0x6538, 0x6539,      0, /* 0xB0 */
2898         0,      0, 0x653A,      0,      0,      0,      0,      0, /* 0xB0 */
2899         0, 0x653C,      0,      0, 0x653D, 0x653E, 0x653F, 0x6540, /* 0xC0 */
2900         0, 0x6541, 0x6542, 0x6543, 0x6544, 0x6545,      0,      0, /* 0xC0 */
2901         0,      0,      0, 0x6546,      0,      0,      0,      0, /* 0xD0 */
2902         0, 0x6547,      0,      0, 0x6548,      0, 0x6549, 0x654A, /* 0xD0 */
2903         0,      0, 0x654B,      0,      0,      0, 0x654C, 0x654D, /* 0xE0 */
2904         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2905         0,      0,      0,      0,      0,      0,      0, 0x654F, /* 0xF0 */
2906    0x6550, 0x654E, 0x6551, 0x6552,      0, 0x6553                  /* 0xF0 */
2907};
2908
2909/* ----------------------------------------------------------------------- */
2910
2911static sal_uInt16 const aImplUniToDBCSTab_JIS0212_94[] =
2912{
2913/*       0       1       2       3       4       5       6       7 */
2914/*       8       9       A       B       C       D       E       F */
2915            0x6554, 0x6555,      0, 0x6556,      0,      0,      0, /* 0x00 */
2916    0x6557, 0x6558,      0,      0,      0, 0x6559, 0x655A, 0x655B, /* 0x00 */
2917         0,      0,      0,      0,      0, 0x655C, 0x655D, 0x655E, /* 0x10 */
2918         0,      0,      0,      0,      0,      0,      0, 0x655F, /* 0x10 */
2919         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
2920         0,      0,      0,      0,      0,      0, 0x6560, 0x6561, /* 0x20 */
2921         0, 0x6562, 0x6563, 0x6564, 0x6565,      0,      0,      0, /* 0x30 */
2922         0,      0,      0, 0x6566,      0, 0x6568,      0, 0x6567, /* 0x30 */
2923         0,      0,      0, 0x6569,      0, 0x656A,      0,      0, /* 0x40 */
2924    0x656B,      0, 0x656C,      0, 0x656D,      0,      0,      0, /* 0x40 */
2925         0,      0,      0,      0,      0, 0x656E,      0,      0, /* 0x50 */
2926         0, 0x656F,      0,      0, 0x6570,      0,      0, 0x6571, /* 0x50 */
2927         0, 0x6572,      0, 0x6573,      0,      0,      0,      0, /* 0x60 */
2928    0x6574,      0,      0, 0x6575,      0, 0x6576, 0x6577, 0x6578, /* 0x60 */
2929         0, 0x6579, 0x657A,      0,      0,      0,      0,      0, /* 0x70 */
2930         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
2931         0,      0,      0, 0x657C, 0x657B                          /* 0x80 */
2932                                                                    /* 0x80 */
2933};
2934
2935/* ----------------------------------------------------------------------- */
2936
2937static sal_uInt16 const aImplUniToDBCSTab_JIS0212_95[] =
2938{
2939/*       0       1       2       3       4       5       6       7 */
2940/*       8       9       A       B       C       D       E       F */
2941                                                                    /* 0x70 */
2942    0x657D, 0x657E,      0,      0,      0,      0, 0x6621,      0, /* 0x70 */
2943         0,      0,      0,      0, 0x6622,      0,      0,      0, /* 0x80 */
2944    0x6623,      0,      0,      0, 0x6624, 0x6625, 0x6626,      0, /* 0x80 */
2945         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
2946         0,      0,      0,      0,      0, 0x6627, 0x6628, 0x6629, /* 0x90 */
2947         0, 0x662A,      0,      0,      0,      0, 0x662B,      0, /* 0xA0 */
2948         0, 0x662C,      0, 0x662D, 0x662E,      0,      0,      0, /* 0xA0 */
2949         0,      0,      0,      0, 0x662F,      0, 0x6630,      0, /* 0xB0 */
2950         0,      0, 0x6631,      0,      0, 0x6632,      0, 0x6633, /* 0xB0 */
2951         0,      0,      0,      0,      0,      0, 0x6634,      0, /* 0xC0 */
2952    0x6635, 0x6636,      0, 0x6637,      0,      0,      0,      0, /* 0xC0 */
2953    0x6638, 0x6639, 0x663A, 0x663B,      0,      0,      0,      0, /* 0xD0 */
2954         0, 0x663C, 0x663D,      0,      0, 0x663E, 0x663F, 0x6640, /* 0xD0 */
2955    0x6641,      0,      0,      0, 0x6642,      0, 0x6643          /* 0xE0 */
2956                                                                    /* 0xE0 */
2957};
2958
2959/* ----------------------------------------------------------------------- */
2960
2961static sal_uInt16 const aImplUniToDBCSTab_JIS0212_96[] =
2962{
2963/*       0       1       2       3       4       5       6       7 */
2964/*       8       9       A       B       C       D       E       F */
2965                                                                    /* 0x10 */
2966                                            0x6644, 0x6645,      0, /* 0x10 */
2967         0,      0, 0x6646,      0, 0x6647, 0x6648, 0x6649,      0, /* 0x20 */
2968         0,      0,      0,      0, 0x664A,      0,      0,      0, /* 0x20 */
2969         0, 0x664B,      0, 0x664C,      0,      0,      0, 0x664D, /* 0x30 */
2970    0x664E, 0x664F, 0x6650,      0, 0x6651, 0x6652,      0,      0, /* 0x30 */
2971         0, 0x6653,      0,      0,      0,      0,      0,      0, /* 0x40 */
2972         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
2973         0,      0, 0x6654,      0, 0x6655,      0, 0x6656, 0x6657, /* 0x50 */
2974    0x6658,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
2975         0, 0x6659,      0,      0,      0,      0,      0,      0, /* 0x60 */
2976         0,      0,      0,      0,      0,      0, 0x665A,      0, /* 0x60 */
2977         0,      0,      0,      0, 0x665B,      0,      0,      0, /* 0x70 */
2978         0,      0,      0, 0x665C, 0x665D,      0, 0x665E, 0x665F, /* 0x70 */
2979         0, 0x6660, 0x6661, 0x6662, 0x6663,      0,      0,      0, /* 0x80 */
2980         0, 0x6664,      0,      0,      0,      0,      0,      0, /* 0x80 */
2981         0, 0x6665,      0,      0,      0,      0, 0x6666,      0, /* 0x90 */
2982         0,      0, 0x6667,      0,      0, 0x6668,      0, 0x6669, /* 0x90 */
2983         0,      0,      0,      0, 0x666A, 0x666B, 0x666C,      0, /* 0xA0 */
2984         0, 0x666D,      0,      0,      0,      0, 0x666E, 0x666F, /* 0xA0 */
2985         0,      0,      0, 0x6670,      0,      0,      0,      0, /* 0xB0 */
2986         0,      0, 0x6671,      0,      0,      0,      0,      0, /* 0xB0 */
2987         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
2988         0,      0, 0x6672,      0,      0,      0,      0,      0, /* 0xC0 */
2989         0,      0, 0x6673,      0,      0,      0,      0,      0, /* 0xD0 */
2990    0x6675,      0, 0x6676,      0,      0, 0x6677, 0x6678, 0x6679, /* 0xD0 */
2991         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
2992         0, 0x667A,      0,      0,      0,      0,      0, 0x667B, /* 0xE0 */
2993         0, 0x667C,      0,      0,      0,      0,      0,      0, /* 0xF0 */
2994         0,      0, 0x667D                                          /* 0xF0 */
2995};
2996
2997/* ----------------------------------------------------------------------- */
2998
2999static sal_uInt16 const aImplUniToDBCSTab_JIS0212_97[] =
3000{
3001/*       0       1       2       3       4       5       6       7 */
3002/*       8       9       A       B       C       D       E       F */
3003                    0x667E, 0x6721,      0, 0x6722,      0,      0, /* 0x00 */
3004         0, 0x6723,      0,      0,      0,      0,      0,      0, /* 0x00 */
3005         0,      0,      0,      0,      0,      0,      0,      0, /* 0x10 */
3006         0,      0, 0x6724, 0x6725,      0, 0x6726,      0,      0, /* 0x10 */
3007         0, 0x6727, 0x6728, 0x6729,      0,      0,      0,      0, /* 0x20 */
3008    0x672A,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
3009         0, 0x672B,      0, 0x672C,      0,      0,      0,      0, /* 0x30 */
3010         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
3011         0, 0x672D,      0, 0x672E,      0,      0,      0,      0, /* 0x40 */
3012         0,      0, 0x672F,      0,      0,      0, 0x6730, 0x6731, /* 0x40 */
3013         0,      0,      0,      0,      0, 0x6732,      0, 0x6733, /* 0x50 */
3014    0x6734,      0, 0x6735, 0x6736,      0,      0,      0,      0, /* 0x50 */
3015         0,      0,      0, 0x6737,      0,      0,      0, 0x6738, /* 0x60 */
3016         0,      0, 0x6739,      0,      0,      0, 0x673A,      0, /* 0x60 */
3017         0,      0,      0, 0x673B,      0,      0, 0x673C, 0x673D, /* 0x70 */
3018    0x673E,      0,      0, 0x673F,      0, 0x6740,      0, 0x6741, /* 0x70 */
3019    0x6742,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3020         0, 0x6743,      0,      0,      0,      0,      0,      0, /* 0x80 */
3021         0,      0,      0,      0,      0, 0x6744, 0x6745, 0x6746, /* 0x90 */
3022         0, 0x6747, 0x6748,      0,      0,      0, 0x6749, 0x674A, /* 0x90 */
3023         0,      0, 0x674B,      0,      0,      0,      0,      0, /* 0xA0 */
3024         0,      0,      0,      0, 0x674C,      0, 0x674D,      0, /* 0xA0 */
3025         0, 0x674E, 0x674F,      0,      0, 0x6750, 0x6751,      0, /* 0xB0 */
3026    0x6752, 0x6753, 0x6754,      0, 0x6755,      0, 0x6756, 0x6757, /* 0xB0 */
3027         0, 0x6758,      0,      0, 0x6759, 0x675A,      0, 0x675B, /* 0xC0 */
3028         0, 0x675C, 0x675D,      0, 0x675E, 0x675F, 0x6760,      0, /* 0xC0 */
3029    0x6761, 0x6762,      0,      0, 0x6763,      0,      0, 0x6764, /* 0xD0 */
3030    0x6765, 0x6766,      0, 0x676A,      0, 0x6767, 0x6768,      0, /* 0xD0 */
3031    0x6769, 0x676B,      0,      0, 0x676C,      0,      0,      0, /* 0xE0 */
3032         0,      0,      0,      0,      0,      0,      0, 0x676D, /* 0xE0 */
3033         0, 0x676E,      0,      0, 0x676F,      0,      0, 0x6770, /* 0xF0 */
3034    0x6771,      0, 0x6772                                          /* 0xF0 */
3035};
3036
3037/* ----------------------------------------------------------------------- */
3038
3039static sal_uInt16 const aImplUniToDBCSTab_JIS0212_98[] =
3040{
3041/*       0       1       2       3       4       5       6       7 */
3042/*       8       9       A       B       C       D       E       F */
3043                                                            0x6773, /* 0x00 */
3044         0,      0, 0x6774,      0,      0, 0x6776, 0x6777,      0, /* 0x00 */
3045         0,      0,      0,      0, 0x6778,      0, 0x6779,      0, /* 0x10 */
3046         0, 0x6775,      0,      0, 0x677A,      0, 0x677B,      0, /* 0x10 */
3047    0x677C,      0,      0, 0x677D,      0, 0x6828, 0x677E,      0, /* 0x20 */
3048         0,      0,      0, 0x6821,      0,      0, 0x6822, 0x6823, /* 0x20 */
3049    0x6824,      0, 0x6825, 0x6826,      0, 0x6827,      0,      0, /* 0x30 */
3050         0,      0,      0,      0,      0,      0, 0x6829,      0, /* 0x30 */
3051         0,      0,      0,      0, 0x682A,      0,      0, 0x682B, /* 0x40 */
3052         0,      0, 0x682C,      0,      0,      0,      0,      0, /* 0x40 */
3053         0, 0x682D, 0x682E, 0x682F,      0,      0, 0x6830, 0x6831, /* 0x50 */
3054         0, 0x6832, 0x6833,      0,      0,      0,      0,      0, /* 0x50 */
3055         0,      0, 0x6834, 0x6835,      0, 0x6836, 0x6837,      0, /* 0x60 */
3056         0,      0, 0x6838,      0, 0x6839,      0,      0,      0, /* 0x60 */
3057         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3058         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3059         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3060         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3061         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3062         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3063         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3064         0,      0,      0, 0x683A,      0, 0x683B, 0x683C,      0, /* 0xA0 */
3065    0x683D,      0,      0,      0, 0x683E,      0,      0, 0x683F, /* 0xB0 */
3066    0x6840,      0, 0x6841, 0x6842,      0,      0,      0, 0x6843, /* 0xB0 */
3067         0,      0, 0x6844,      0,      0, 0x6845,      0,      0, /* 0xC0 */
3068    0x6846,      0,      0,      0, 0x6847,      0,      0,      0, /* 0xC0 */
3069         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
3070         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
3071         0, 0x6848,      0, 0x6849,      0, 0x684A, 0x684B, 0x684C, /* 0xE0 */
3072         0,      0, 0x684D,      0,      0,      0,      0,      0, /* 0xE0 */
3073         0,      0,      0, 0x684E,      0,      0, 0x684F          /* 0xF0 */
3074                                                                    /* 0xF0 */
3075};
3076
3077/* ----------------------------------------------------------------------- */
3078
3079static sal_uInt16 const aImplUniToDBCSTab_JIS0212_99[] =
3080{
3081/*       0       1       2       3       4       5       6       7 */
3082/*       8       9       A       B       C       D       E       F */
3083                    0x6850,      0,      0,      0,      0, 0x6851, /* 0x00 */
3084    0x6852,      0,      0,      0,      0,      0,      0,      0, /* 0x00 */
3085         0, 0x6853,      0,      0,      0, 0x6854, 0x6855, 0x6856, /* 0x10 */
3086         0,      0, 0x6857, 0x6858, 0x6859,      0,      0, 0x685A, /* 0x10 */
3087         0,      0, 0x685B,      0,      0,      0, 0x685C, 0x685D, /* 0x20 */
3088         0,      0,      0, 0x685E,      0,      0,      0,      0, /* 0x20 */
3089         0, 0x685F, 0x6860, 0x6861, 0x6862, 0x6863,      0,      0, /* 0x30 */
3090         0, 0x6864, 0x6865, 0x6866, 0x6867,      0,      0,      0, /* 0x30 */
3091    0x6868, 0x6869,      0,      0,      0,      0, 0x686A, 0x686B, /* 0x40 */
3092    0x686C,      0,      0,      0,      0, 0x686D, 0x686E,      0, /* 0x40 */
3093         0,      0,      0,      0, 0x686F,      0,      0,      0, /* 0x50 */
3094    0x6870, 0x6871,      0, 0x6872, 0x6873,      0, 0x6874, 0x6875, /* 0x50 */
3095    0x6876,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3096         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3097         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3098         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3099         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3100         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3101         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3102         0,      0,      0, 0x6877,      0, 0x6878,      0, 0x6879, /* 0x90 */
3103         0,      0,      0,      0,      0,      0, 0x687A,      0, /* 0xA0 */
3104         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3105    0x687B, 0x687C, 0x687D,      0,      0, 0x687E,      0,      0, /* 0xB0 */
3106         0, 0x6921, 0x6922,      0,      0, 0x6923,      0, 0x6924, /* 0xB0 */
3107         0,      0,      0, 0x6925,      0,      0,      0,      0, /* 0xC0 */
3108         0, 0x6926,      0,      0,      0,      0,      0,      0, /* 0xC0 */
3109         0,      0,      0, 0x6927, 0x6928,      0,      0,      0, /* 0xD0 */
3110         0, 0x6929, 0x692A,      0, 0x692B,      0, 0x692C,      0, /* 0xD0 */
3111         0,      0,      0,      0,      0,      0,      0, 0x692D, /* 0xE0 */
3112         0,      0, 0x692E, 0x692F, 0x6930,      0,      0,      0, /* 0xE0 */
3113    0x6931,      0,      0,      0, 0x6932, 0x6933,      0,      0, /* 0xF0 */
3114         0, 0x6934,      0,      0,      0, 0x6935, 0x6936          /* 0xF0 */
3115};
3116
3117/* ----------------------------------------------------------------------- */
3118
3119static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9A[] =
3120{
3121/*       0       1       2       3       4       5       6       7 */
3122/*       8       9       A       B       C       D       E       F */
3123                    0x6937, 0x6938, 0x6939,      0,      0,      0, /* 0x00 */
3124         0,      0,      0, 0x693A, 0x693B,      0,      0,      0, /* 0x00 */
3125    0x693C, 0x693D,      0,      0,      0,      0, 0x693E,      0, /* 0x10 */
3126         0,      0,      0,      0,      0,      0, 0x693F,      0, /* 0x10 */
3127    0x6940,      0, 0x6941, 0x6942, 0x6943,      0,      0, 0x6944, /* 0x20 */
3128         0,      0,      0,      0,      0, 0x6945, 0x6946,      0, /* 0x20 */
3129         0,      0,      0, 0x6947,      0, 0x6948, 0x6949,      0, /* 0x30 */
3130    0x694A,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
3131         0, 0x694C,      0,      0, 0x694D,      0,      0, 0x694B, /* 0x40 */
3132         0,      0, 0x694E, 0x694F, 0x6950,      0, 0x6951,      0, /* 0x40 */
3133         0, 0x6952,      0,      0, 0x6953,      0, 0x6954,      0, /* 0x50 */
3134         0,      0,      0,      0,      0, 0x6955,      0,      0, /* 0x50 */
3135         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3136         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3137         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3138         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3139         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3140         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3141         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3142         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3143         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3144         0,      0, 0x6956,      0, 0x6957,      0, 0x6958, 0x6959, /* 0xA0 */
3145         0,      0, 0x695A,      0, 0x695B, 0x695C, 0x695D,      0, /* 0xB0 */
3146         0, 0x695E,      0, 0x695F,      0,      0, 0x6960, 0x6961, /* 0xB0 */
3147         0, 0x6962,      0, 0x6963,      0,      0, 0x6964,      0, /* 0xC0 */
3148    0x6965,      0,      0,      0,      0,      0, 0x6966,      0, /* 0xC0 */
3149    0x6967,      0, 0x6968,      0,      0, 0x6969, 0x696A, 0x696B, /* 0xD0 */
3150         0,      0,      0, 0x696C, 0x696D,      0,      0,      0, /* 0xD0 */
3151    0x696E,      0,      0,      0, 0x696F, 0x6970,      0, 0x6971, /* 0xE0 */
3152         0, 0x6972,      0,      0, 0x6973,      0,      0,      0, /* 0xE0 */
3153         0,      0, 0x6974, 0x6975,      0, 0x6976,      0,      0, /* 0xF0 */
3154         0, 0x6977, 0x6978,      0,      0, 0x6979,      0, 0x697A  /* 0xF0 */
3155};
3156
3157/* ----------------------------------------------------------------------- */
3158
3159static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9B[] =
3160{
3161/*       0       1       2       3       4       5       6       7 */
3162/*       8       9       A       B       C       D       E       F */
3163    0x697B, 0x697C, 0x697D, 0x697E, 0x6A21, 0x6A22,      0,      0, /* 0x00 */
3164    0x6A23, 0x6A24,      0, 0x6A25, 0x6A26, 0x6A27, 0x6A28,      0, /* 0x00 */
3165    0x6A29,      0, 0x6A2A,      0,      0,      0, 0x6A2B,      0, /* 0x10 */
3166         0, 0x6A2C,      0, 0x6A2D, 0x6A2E,      0,      0,      0, /* 0x10 */
3167    0x6A2F,      0,      0,      0,      0,      0, 0x6A30,      0, /* 0x20 */
3168         0,      0,      0, 0x6A31,      0, 0x6A32,      0,      0, /* 0x20 */
3169         0,      0,      0, 0x6A33, 0x6A34, 0x6A35,      0, 0x6A36, /* 0x30 */
3170         0, 0x6A37, 0x6A38,      0,      0, 0x6A39,      0,      0, /* 0x30 */
3171         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
3172    0x6A3A,      0,      0, 0x6A3B, 0x6A3C,      0,      0,      0, /* 0x40 */
3173         0,      0,      0,      0,      0, 0x6A3D, 0x6A3E, 0x6A3F, /* 0x50 */
3174         0,      0,      0, 0x6A40,      0,      0, 0x6A41,      0, /* 0x50 */
3175         0, 0x6A42,      0, 0x6A43,      0, 0x6A44, 0x6A45,      0, /* 0x60 */
3176    0x6A46,      0, 0x6A47, 0x6A48, 0x6A49, 0x6A4A, 0x6A4B,      0, /* 0x60 */
3177         0,      0,      0, 0x6A4C,      0, 0x6A4D,      0, 0x6A4E, /* 0x70 */
3178    0x6A4F, 0x6A50,      0,      0,      0,      0,      0, 0x6A51, /* 0x70 */
3179    0x6A52,      0,      0,      0, 0x6A53, 0x6A54, 0x6A55, 0x6A56, /* 0x80 */
3180         0, 0x6A57, 0x6A58, 0x6A59,      0, 0x6A5A,      0, 0x6A5B, /* 0x80 */
3181    0x6A5C,      0,      0,      0, 0x6A5D,      0,      0,      0, /* 0x90 */
3182         0,      0, 0x6A5E,      0,      0, 0x6A5F, 0x6A60,      0, /* 0x90 */
3183         0,      0,      0,      0,      0,      0, 0x6A61, 0x6A62, /* 0xA0 */
3184         0, 0x6A63,      0,      0, 0x6A64,      0,      0,      0, /* 0xA0 */
3185    0x6A65, 0x6A66, 0x6A67,      0,      0,      0,      0, 0x6A68, /* 0xB0 */
3186    0x6A69,      0,      0, 0x6A6A, 0x6A6B,      0, 0x6A6C, 0x6A6D, /* 0xB0 */
3187         0, 0x6A6E,      0,      0,      0,      0,      0, 0x6A6F, /* 0xC0 */
3188    0x6A70,      0,      0,      0,      0,      0, 0x6A71,      0, /* 0xC0 */
3189    0x6A72,      0,      0,      0,      0,      0,      0, 0x6A73, /* 0xD0 */
3190    0x6A74,      0,      0,      0,      0, 0x6A75,      0, 0x6A76, /* 0xD0 */
3191         0,      0,      0,      0,      0, 0x6A77,      0, 0x6A78, /* 0xE0 */
3192         0,      0, 0x6A79, 0x6A7A,      0,      0,      0, 0x6A7B, /* 0xE0 */
3193         0,      0,      0, 0x6A7C,      0,      0,      0, 0x6A7D, /* 0xF0 */
3194    0x6A7E, 0x6B21, 0x6B22,      0,      0, 0x6B23,      0, 0x6B24  /* 0xF0 */
3195};
3196
3197/* ----------------------------------------------------------------------- */
3198
3199static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9C[] =
3200{
3201/*       0       1       2       3       4       5       6       7 */
3202/*       8       9       A       B       C       D       E       F */
3203    0x6B25,      0, 0x6B26,      0,      0,      0,      0,      0, /* 0x00 */
3204         0,      0,      0, 0x6B27,      0,      0,      0, 0x6B28, /* 0x00 */
3205         0, 0x6B29,      0,      0,      0,      0, 0x6B2A,      0, /* 0x10 */
3206    0x6B2B, 0x6B2C, 0x6B2D,      0, 0x6B2E,      0, 0x6B2F,      0, /* 0x10 */
3207         0,      0, 0x6B30, 0x6B31,      0,      0, 0x6B32, 0x6B33, /* 0x20 */
3208    0x6B34, 0x6B35, 0x6B36,      0,      0,      0,      0,      0, /* 0x20 */
3209         0, 0x6B37,      0,      0,      0, 0x6B38, 0x6B39, 0x6B3A, /* 0x30 */
3210         0,      0,      0,      0,      0, 0x6B3B,      0,      0, /* 0x30 */
3211         0, 0x6B3C,      0, 0x6B3D, 0x6B3E, 0x6B3F,      0,      0, /* 0x40 */
3212         0, 0x6B40, 0x6B41,      0,      0,      0, 0x6B42, 0x6B43, /* 0x40 */
3213    0x6B44,      0,      0, 0x6B45, 0x6B46,      0, 0x6B47,      0, /* 0x50 */
3214    0x6B48,      0,      0, 0x6B49, 0x6B50, 0x6B4A, 0x6B4B, 0x6B4C, /* 0x50 */
3215         0,      0,      0, 0x6B4D,      0,      0,      0,      0, /* 0x60 */
3216    0x6B52, 0x6B4E, 0x6B4F, 0x6B51,      0,      0, 0x6B53,      0, /* 0x60 */
3217    0x6B54,      0, 0x6B55,      0,      0, 0x6B56,      0, 0x6B57, /* 0x70 */
3218         0,      0,      0, 0x6B58,      0,      0,      0,      0, /* 0x70 */
3219         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3220         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3221         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3222         0,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3223         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3224         0,      0,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3225         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
3226         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
3227         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
3228         0,      0,      0,      0,      0,      0,      0,      0, /* 0xC0 */
3229         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
3230         0,      0,      0,      0,      0,      0,      0,      0, /* 0xD0 */
3231         0,      0,      0,      0,      0,      0, 0x6B59,      0, /* 0xE0 */
3232         0,      0,      0,      0,      0,      0,      0,      0, /* 0xE0 */
3233         0,      0, 0x6B5A,      0,      0,      0,      0, 0x6B5B, /* 0xF0 */
3234         0, 0x6B5C                                                  /* 0xF0 */
3235};
3236
3237/* ----------------------------------------------------------------------- */
3238
3239static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9D[] =
3240{
3241/*       0       1       2       3       4       5       6       7 */
3242/*       8       9       A       B       C       D       E       F */
3243                    0x6B5E,      0,      0,      0,      0,      0, /* 0x00 */
3244         0,      0,      0, 0x6B5D,      0,      0,      0,      0, /* 0x00 */
3245         0, 0x6B5F,      0,      0,      0,      0,      0, 0x6B60, /* 0x10 */
3246    0x6B61,      0,      0,      0, 0x6B62, 0x6B63, 0x6B64,      0, /* 0x10 */
3247         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
3248         0,      0,      0,      0,      0,      0,      0, 0x6B65, /* 0x20 */
3249    0x6B66,      0, 0x6B67, 0x6B68, 0x6B69,      0,      0,      0, /* 0x30 */
3250         0,      0, 0x6B6A,      0, 0x6B6B, 0x6B6D,      0,      0, /* 0x30 */
3251         0,      0, 0x6B6E, 0x6B6F,      0, 0x6B6C,      0, 0x6B70, /* 0x40 */
3252         0,      0, 0x6B71,      0,      0,      0,      0,      0, /* 0x40 */
3253         0,      0,      0, 0x6B72, 0x6B73,      0,      0,      0, /* 0x50 */
3254         0,      0,      0,      0,      0,      0,      0, 0x6B74, /* 0x50 */
3255         0,      0, 0x6B76, 0x6B75,      0, 0x6B77,      0,      0, /* 0x60 */
3256         0, 0x6B78, 0x6B79, 0x6B7A,      0,      0,      0,      0, /* 0x60 */
3257    0x6B7B,      0,      0,      0,      0,      0, 0x6B7C, 0x6B7D, /* 0x70 */
3258         0,      0,      0, 0x6B7E, 0x6C21,      0, 0x6C22,      0, /* 0x70 */
3259         0,      0,      0, 0x6C23, 0x6C24,      0, 0x6C25,      0, /* 0x80 */
3260         0,      0, 0x6C26,      0,      0, 0x6C27, 0x6C28,      0, /* 0x80 */
3261         0,      0, 0x6C29, 0x6C2A,      0, 0x6C2B, 0x6C2C, 0x6C2D, /* 0x90 */
3262    0x6C2E,      0,      0,      0,      0,      0,      0,      0, /* 0x90 */
3263         0, 0x6C2F,      0,      0,      0,      0,      0,      0, /* 0xA0 */
3264         0,      0, 0x6C30,      0, 0x6C31,      0, 0x6C32,      0, /* 0xA0 */
3265         0, 0x6C33,      0,      0,      0, 0x6C34,      0,      0, /* 0xB0 */
3266         0, 0x6C35,      0,      0, 0x6C36,      0,      0, 0x6C37, /* 0xB0 */
3267         0,      0,      0, 0x6C38,      0,      0,      0, 0x6C39, /* 0xC0 */
3268         0, 0x6C3A, 0x6C3B,      0,      0,      0,      0,      0, /* 0xC0 */
3269         0,      0,      0,      0, 0x6C3C, 0x6C3D, 0x6C3E, 0x6C3F, /* 0xD0 */
3270         0,      0, 0x6C40,      0,      0,      0, 0x6C41, 0x6C42, /* 0xD0 */
3271    0x6C43,      0,      0,      0,      0, 0x6C44,      0, 0x6C45, /* 0xE0 */
3272         0, 0x6C46,      0, 0x6C47,      0,      0, 0x6C48,      0, /* 0xE0 */
3273    0x6C49,      0,      0, 0x6C4A, 0x6C4B,      0,      0,      0, /* 0xF0 */
3274         0,      0,      0,      0,      0,      0, 0x6C4C          /* 0xF0 */
3275};
3276
3277/* ----------------------------------------------------------------------- */
3278
3279static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9E[] =
3280{
3281/*       0       1       2       3       4       5       6       7 */
3282/*       8       9       A       B       C       D       E       F */
3283                    0x6C4E,      0,      0,      0,      0, 0x6C4F, /* 0x00 */
3284         0,      0, 0x6C4D,      0,      0,      0, 0x6C50,      0, /* 0x00 */
3285    0x6C51, 0x6C52, 0x6C53,      0,      0, 0x6C54, 0x6C55,      0, /* 0x10 */
3286         0, 0x6C56,      0,      0, 0x6C57, 0x6C58,      0,      0, /* 0x10 */
3287         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
3288         0,      0,      0,      0,      0,      0,      0,      0, /* 0x20 */
3289         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
3290         0,      0,      0,      0,      0,      0,      0,      0, /* 0x30 */
3291         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
3292         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
3293         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
3294         0,      0,      0,      0,      0,      0,      0,      0, /* 0x50 */
3295         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3296         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3297         0,      0,      0,      0,      0,      0,      0,      0, /* 0x70 */
3298         0,      0, 0x6C59, 0x6C5A, 0x6C5B,      0,      0,      0, /* 0x70 */
3299    0x6C5C,      0, 0x6C5D, 0x6C5E, 0x6C5F, 0x6C60,      0, 0x6C61, /* 0x80 */
3300         0,      0,      0,      0,      0,      0, 0x6C62, 0x6C63, /* 0x80 */
3301         0,      0,      0,      0,      0,      0, 0x6C64,      0, /* 0x90 */
3302    0x6C65,      0,      0, 0x6C66,      0,      0, 0x6C67,      0, /* 0x90 */
3303         0,      0,      0,      0, 0x6C68,      0,      0,      0, /* 0xA0 */
3304    0x6C69,      0,      0,      0, 0x6C6A,      0, 0x6C6B, 0x6C6C, /* 0xA0 */
3305    0x6C6D,      0,      0, 0x6C6E, 0x6C6F, 0x6C70,      0,      0, /* 0xB0 */
3306         0,      0,      0,      0,      0,      0,      0,      0, /* 0xB0 */
3307         0,      0,      0,      0,      0,      0, 0x6C71,      0, /* 0xC0 */
3308    0x6C72,      0,      0, 0x6C73,      0,      0,      0,      0, /* 0xC0 */
3309         0,      0,      0,      0,      0, 0x6C74,      0,      0, /* 0xD0 */
3310         0,      0,      0,      0,      0,      0,      0, 0x6C75, /* 0xD0 */
3311         0,      0,      0,      0, 0x6C76,      0,      0, 0x6C77, /* 0xE0 */
3312         0,      0,      0,      0, 0x6C78, 0x6C79, 0x6C7A,      0, /* 0xE0 */
3313    0x6C7B, 0x6C7C, 0x6C7D,      0,      0, 0x6C7E,      0,      0, /* 0xF0 */
3314    0x6D21,      0,      0,      0,      0,      0,      0, 0x6D22  /* 0xF0 */
3315};
3316
3317/* ----------------------------------------------------------------------- */
3318
3319static sal_uInt16 const aImplUniToDBCSTab_JIS0212_9F[] =
3320{
3321/*       0       1       2       3       4       5       6       7 */
3322/*       8       9       A       B       C       D       E       F */
3323                    0x6D23, 0x6D24,      0,      0,      0,      0, /* 0x00 */
3324         0, 0x6D25,      0,      0,      0,      0,      0, 0x6D26, /* 0x00 */
3325    0x6D27, 0x6D28, 0x6D29,      0, 0x6D2A,      0, 0x6D2B, 0x6D2C, /* 0x10 */
3326         0, 0x6D2D, 0x6D2E, 0x6D2F,      0,      0,      0, 0x6D30, /* 0x10 */
3327         0,      0, 0x6D31,      0,      0,      0, 0x6D32,      0, /* 0x20 */
3328         0,      0, 0x6D33, 0x6D34,      0,      0,      0, 0x6D35, /* 0x20 */
3329         0, 0x6D36, 0x6D37,      0, 0x6D38,      0,      0, 0x6D39, /* 0x30 */
3330         0, 0x6D3A, 0x6D3B,      0, 0x6D3C, 0x6D3D,      0, 0x6D3E, /* 0x30 */
3331         0, 0x6D3F,      0, 0x6D40, 0x6D41, 0x6D42, 0x6D43, 0x6D44, /* 0x40 */
3332         0,      0,      0,      0,      0,      0,      0,      0, /* 0x40 */
3333         0,      0,      0, 0x6D45,      0, 0x6D46, 0x6D47, 0x6D48, /* 0x50 */
3334    0x6D49,      0, 0x6D4A,      0,      0, 0x6D4B, 0x6D4C,      0, /* 0x50 */
3335         0,      0,      0,      0,      0,      0,      0,      0, /* 0x60 */
3336    0x6D4D, 0x6D4E,      0,      0,      0, 0x6D4F, 0x6D50, 0x6D51, /* 0x60 */
3337    0x6D52, 0x6D53,      0, 0x6D54,      0, 0x6D55,      0,      0, /* 0x70 */
3338         0,      0, 0x6D56,      0,      0, 0x6D57,      0,      0, /* 0x70 */
3339         0,      0,      0,      0,      0,      0,      0,      0, /* 0x80 */
3340         0,      0,      0,      0,      0,      0,      0, 0x6D58, /* 0x80 */
3341    0x6D59, 0x6D5A, 0x6D5B,      0, 0x6D5C,      0, 0x6D5D, 0x6D5E, /* 0x90 */
3342         0,      0,      0,      0,      0,      0, 0x6D5F,      0, /* 0x90 */
3343         0, 0x6D60, 0x6D61, 0x6D62,      0, 0x6D63                  /* 0xA0 */
3344                                                                    /* 0xA0 */
3345};
3346
3347