xref: /aoo41x/main/sal/textenc/tcvttcn6.tab (revision 11594ab6)
1*11594ab6SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*11594ab6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*11594ab6SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*11594ab6SAndrew Rist * distributed with this work for additional information
6*11594ab6SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*11594ab6SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*11594ab6SAndrew Rist * "License"); you may not use this file except in compliance
9*11594ab6SAndrew Rist * with the License.  You may obtain a copy of the License at
10*11594ab6SAndrew Rist *
11*11594ab6SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*11594ab6SAndrew Rist *
13*11594ab6SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*11594ab6SAndrew Rist * software distributed under the License is distributed on an
15*11594ab6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*11594ab6SAndrew Rist * KIND, either express or implied.  See the License for the
17*11594ab6SAndrew Rist * specific language governing permissions and limitations
18*11594ab6SAndrew Rist * under the License.
19*11594ab6SAndrew Rist *
20*11594ab6SAndrew Rist *************************************************************/
21*11594ab6SAndrew Rist
22*11594ab6SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir/* ======================================================================= */
25cdf0e10cSrcweir
26cdf0e10cSrcweir/* This file contain the information tables for all */
27cdf0e10cSrcweir/* chinese traditional (Taiwan/HongKong) charsets: */
28cdf0e10cSrcweir/* BIG5, MS950, APPLE_CHINTRAD */
29cdf0e10cSrcweir
30cdf0e10cSrcweir/* ======================================================================= */
31cdf0e10cSrcweir
32cdf0e10cSrcweirstatic ImplDBCSToUniLeadTab const aBIG5UniLeadTab[256] =
33cdf0e10cSrcweir{
34cdf0e10cSrcweir    { 0x0000,    0,    0, NULL },                               /* 0x00 */
35cdf0e10cSrcweir    { 0x0001,    0,    0, NULL },                               /* 0x01 */
36cdf0e10cSrcweir    { 0x0002,    0,    0, NULL },                               /* 0x02 */
37cdf0e10cSrcweir    { 0x0003,    0,    0, NULL },                               /* 0x03 */
38cdf0e10cSrcweir    { 0x0004,    0,    0, NULL },                               /* 0x04 */
39cdf0e10cSrcweir    { 0x0005,    0,    0, NULL },                               /* 0x05 */
40cdf0e10cSrcweir    { 0x0006,    0,    0, NULL },                               /* 0x06 */
41cdf0e10cSrcweir    { 0x0007,    0,    0, NULL },                               /* 0x07 */
42cdf0e10cSrcweir    { 0x0008,    0,    0, NULL },                               /* 0x08 */
43cdf0e10cSrcweir    { 0x0009,    0,    0, NULL },                               /* 0x09 */
44cdf0e10cSrcweir    { 0x000A,    0,    0, NULL },                               /* 0x0A */
45cdf0e10cSrcweir    { 0x000B,    0,    0, NULL },                               /* 0x0B */
46cdf0e10cSrcweir    { 0x000C,    0,    0, NULL },                               /* 0x0C */
47cdf0e10cSrcweir    { 0x000D,    0,    0, NULL },                               /* 0x0D */
48cdf0e10cSrcweir    { 0x000E,    0,    0, NULL },                               /* 0x0E */
49cdf0e10cSrcweir    { 0x000F,    0,    0, NULL },                               /* 0x0F */
50cdf0e10cSrcweir    { 0x0010,    0,    0, NULL },                               /* 0x10 */
51cdf0e10cSrcweir    { 0x0011,    0,    0, NULL },                               /* 0x11 */
52cdf0e10cSrcweir    { 0x0012,    0,    0, NULL },                               /* 0x12 */
53cdf0e10cSrcweir    { 0x0013,    0,    0, NULL },                               /* 0x13 */
54cdf0e10cSrcweir    { 0x0014,    0,    0, NULL },                               /* 0x14 */
55cdf0e10cSrcweir    { 0x0015,    0,    0, NULL },                               /* 0x15 */
56cdf0e10cSrcweir    { 0x0016,    0,    0, NULL },                               /* 0x16 */
57cdf0e10cSrcweir    { 0x0017,    0,    0, NULL },                               /* 0x17 */
58cdf0e10cSrcweir    { 0x0018,    0,    0, NULL },                               /* 0x18 */
59cdf0e10cSrcweir    { 0x0019,    0,    0, NULL },                               /* 0x19 */
60cdf0e10cSrcweir    { 0x001A,    0,    0, NULL },                               /* 0x1A */
61cdf0e10cSrcweir    { 0x001B,    0,    0, NULL },                               /* 0x1B */
62cdf0e10cSrcweir    { 0x001C,    0,    0, NULL },                               /* 0x1C */
63cdf0e10cSrcweir    { 0x001D,    0,    0, NULL },                               /* 0x1D */
64cdf0e10cSrcweir    { 0x001E,    0,    0, NULL },                               /* 0x1E */
65cdf0e10cSrcweir    { 0x001F,    0,    0, NULL },                               /* 0x1F */
66cdf0e10cSrcweir    { 0x0020,    0,    0, NULL },                               /* 0x20 */
67cdf0e10cSrcweir    { 0x0021,    0,    0, NULL },                               /* 0x21 */
68cdf0e10cSrcweir    { 0x0022,    0,    0, NULL },                               /* 0x22 */
69cdf0e10cSrcweir    { 0x0023,    0,    0, NULL },                               /* 0x23 */
70cdf0e10cSrcweir    { 0x0024,    0,    0, NULL },                               /* 0x24 */
71cdf0e10cSrcweir    { 0x0025,    0,    0, NULL },                               /* 0x25 */
72cdf0e10cSrcweir    { 0x0026,    0,    0, NULL },                               /* 0x26 */
73cdf0e10cSrcweir    { 0x0027,    0,    0, NULL },                               /* 0x27 */
74cdf0e10cSrcweir    { 0x0028,    0,    0, NULL },                               /* 0x28 */
75cdf0e10cSrcweir    { 0x0029,    0,    0, NULL },                               /* 0x29 */
76cdf0e10cSrcweir    { 0x002A,    0,    0, NULL },                               /* 0x2A */
77cdf0e10cSrcweir    { 0x002B,    0,    0, NULL },                               /* 0x2B */
78cdf0e10cSrcweir    { 0x002C,    0,    0, NULL },                               /* 0x2C */
79cdf0e10cSrcweir    { 0x002D,    0,    0, NULL },                               /* 0x2D */
80cdf0e10cSrcweir    { 0x002E,    0,    0, NULL },                               /* 0x2E */
81cdf0e10cSrcweir    { 0x002F,    0,    0, NULL },                               /* 0x2F */
82cdf0e10cSrcweir    { 0x0030,    0,    0, NULL },                               /* 0x30 */
83cdf0e10cSrcweir    { 0x0031,    0,    0, NULL },                               /* 0x31 */
84cdf0e10cSrcweir    { 0x0032,    0,    0, NULL },                               /* 0x32 */
85cdf0e10cSrcweir    { 0x0033,    0,    0, NULL },                               /* 0x33 */
86cdf0e10cSrcweir    { 0x0034,    0,    0, NULL },                               /* 0x34 */
87cdf0e10cSrcweir    { 0x0035,    0,    0, NULL },                               /* 0x35 */
88cdf0e10cSrcweir    { 0x0036,    0,    0, NULL },                               /* 0x36 */
89cdf0e10cSrcweir    { 0x0037,    0,    0, NULL },                               /* 0x37 */
90cdf0e10cSrcweir    { 0x0038,    0,    0, NULL },                               /* 0x38 */
91cdf0e10cSrcweir    { 0x0039,    0,    0, NULL },                               /* 0x39 */
92cdf0e10cSrcweir    { 0x003A,    0,    0, NULL },                               /* 0x3A */
93cdf0e10cSrcweir    { 0x003B,    0,    0, NULL },                               /* 0x3B */
94cdf0e10cSrcweir    { 0x003C,    0,    0, NULL },                               /* 0x3C */
95cdf0e10cSrcweir    { 0x003D,    0,    0, NULL },                               /* 0x3D */
96cdf0e10cSrcweir    { 0x003E,    0,    0, NULL },                               /* 0x3E */
97cdf0e10cSrcweir    { 0x003F,    0,    0, NULL },                               /* 0x3F */
98cdf0e10cSrcweir    { 0x0040,    0,    0, NULL },                               /* 0x40 */
99cdf0e10cSrcweir    { 0x0041,    0,    0, NULL },                               /* 0x41 */
100cdf0e10cSrcweir    { 0x0042,    0,    0, NULL },                               /* 0x42 */
101cdf0e10cSrcweir    { 0x0043,    0,    0, NULL },                               /* 0x43 */
102cdf0e10cSrcweir    { 0x0044,    0,    0, NULL },                               /* 0x44 */
103cdf0e10cSrcweir    { 0x0045,    0,    0, NULL },                               /* 0x45 */
104cdf0e10cSrcweir    { 0x0046,    0,    0, NULL },                               /* 0x46 */
105cdf0e10cSrcweir    { 0x0047,    0,    0, NULL },                               /* 0x47 */
106cdf0e10cSrcweir    { 0x0048,    0,    0, NULL },                               /* 0x48 */
107cdf0e10cSrcweir    { 0x0049,    0,    0, NULL },                               /* 0x49 */
108cdf0e10cSrcweir    { 0x004A,    0,    0, NULL },                               /* 0x4A */
109cdf0e10cSrcweir    { 0x004B,    0,    0, NULL },                               /* 0x4B */
110cdf0e10cSrcweir    { 0x004C,    0,    0, NULL },                               /* 0x4C */
111cdf0e10cSrcweir    { 0x004D,    0,    0, NULL },                               /* 0x4D */
112cdf0e10cSrcweir    { 0x004E,    0,    0, NULL },                               /* 0x4E */
113cdf0e10cSrcweir    { 0x004F,    0,    0, NULL },                               /* 0x4F */
114cdf0e10cSrcweir    { 0x0050,    0,    0, NULL },                               /* 0x50 */
115cdf0e10cSrcweir    { 0x0051,    0,    0, NULL },                               /* 0x51 */
116cdf0e10cSrcweir    { 0x0052,    0,    0, NULL },                               /* 0x52 */
117cdf0e10cSrcweir    { 0x0053,    0,    0, NULL },                               /* 0x53 */
118cdf0e10cSrcweir    { 0x0054,    0,    0, NULL },                               /* 0x54 */
119cdf0e10cSrcweir    { 0x0055,    0,    0, NULL },                               /* 0x55 */
120cdf0e10cSrcweir    { 0x0056,    0,    0, NULL },                               /* 0x56 */
121cdf0e10cSrcweir    { 0x0057,    0,    0, NULL },                               /* 0x57 */
122cdf0e10cSrcweir    { 0x0058,    0,    0, NULL },                               /* 0x58 */
123cdf0e10cSrcweir    { 0x0059,    0,    0, NULL },                               /* 0x59 */
124cdf0e10cSrcweir    { 0x005A,    0,    0, NULL },                               /* 0x5A */
125cdf0e10cSrcweir    { 0x005B,    0,    0, NULL },                               /* 0x5B */
126cdf0e10cSrcweir    { 0x005C,    0,    0, NULL },                               /* 0x5C */
127cdf0e10cSrcweir    { 0x005D,    0,    0, NULL },                               /* 0x5D */
128cdf0e10cSrcweir    { 0x005E,    0,    0, NULL },                               /* 0x5E */
129cdf0e10cSrcweir    { 0x005F,    0,    0, NULL },                               /* 0x5F */
130cdf0e10cSrcweir    { 0x0060,    0,    0, NULL },                               /* 0x60 */
131cdf0e10cSrcweir    { 0x0061,    0,    0, NULL },                               /* 0x61 */
132cdf0e10cSrcweir    { 0x0062,    0,    0, NULL },                               /* 0x62 */
133cdf0e10cSrcweir    { 0x0063,    0,    0, NULL },                               /* 0x63 */
134cdf0e10cSrcweir    { 0x0064,    0,    0, NULL },                               /* 0x64 */
135cdf0e10cSrcweir    { 0x0065,    0,    0, NULL },                               /* 0x65 */
136cdf0e10cSrcweir    { 0x0066,    0,    0, NULL },                               /* 0x66 */
137cdf0e10cSrcweir    { 0x0067,    0,    0, NULL },                               /* 0x67 */
138cdf0e10cSrcweir    { 0x0068,    0,    0, NULL },                               /* 0x68 */
139cdf0e10cSrcweir    { 0x0069,    0,    0, NULL },                               /* 0x69 */
140cdf0e10cSrcweir    { 0x006A,    0,    0, NULL },                               /* 0x6A */
141cdf0e10cSrcweir    { 0x006B,    0,    0, NULL },                               /* 0x6B */
142cdf0e10cSrcweir    { 0x006C,    0,    0, NULL },                               /* 0x6C */
143cdf0e10cSrcweir    { 0x006D,    0,    0, NULL },                               /* 0x6D */
144cdf0e10cSrcweir    { 0x006E,    0,    0, NULL },                               /* 0x6E */
145cdf0e10cSrcweir    { 0x006F,    0,    0, NULL },                               /* 0x6F */
146cdf0e10cSrcweir    { 0x0070,    0,    0, NULL },                               /* 0x70 */
147cdf0e10cSrcweir    { 0x0071,    0,    0, NULL },                               /* 0x71 */
148cdf0e10cSrcweir    { 0x0072,    0,    0, NULL },                               /* 0x72 */
149cdf0e10cSrcweir    { 0x0073,    0,    0, NULL },                               /* 0x73 */
150cdf0e10cSrcweir    { 0x0074,    0,    0, NULL },                               /* 0x74 */
151cdf0e10cSrcweir    { 0x0075,    0,    0, NULL },                               /* 0x75 */
152cdf0e10cSrcweir    { 0x0076,    0,    0, NULL },                               /* 0x76 */
153cdf0e10cSrcweir    { 0x0077,    0,    0, NULL },                               /* 0x77 */
154cdf0e10cSrcweir    { 0x0078,    0,    0, NULL },                               /* 0x78 */
155cdf0e10cSrcweir    { 0x0079,    0,    0, NULL },                               /* 0x79 */
156cdf0e10cSrcweir    { 0x007A,    0,    0, NULL },                               /* 0x7A */
157cdf0e10cSrcweir    { 0x007B,    0,    0, NULL },                               /* 0x7B */
158cdf0e10cSrcweir    { 0x007C,    0,    0, NULL },                               /* 0x7C */
159cdf0e10cSrcweir    { 0x007D,    0,    0, NULL },                               /* 0x7D */
160cdf0e10cSrcweir    { 0x007E,    0,    0, NULL },                               /* 0x7E */
161cdf0e10cSrcweir    { 0x007F,    0,    0, NULL },                               /* 0x7F */
162cdf0e10cSrcweir    {      0,    1,    0, NULL },                               /* 0x80 */
163cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x81 */ /* We convert this as double byte */
164cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x82 */ /* We convert this as double byte */
165cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x83 */ /* We convert this as double byte */
166cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x84 */ /* We convert this as double byte */
167cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x85 */ /* We convert this as double byte */
168cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x86 */ /* We convert this as double byte */
169cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x87 */ /* We convert this as double byte */
170cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x88 */ /* We convert this as double byte */
171cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x89 */ /* We convert this as double byte */
172cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8A */ /* We convert this as double byte */
173cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8B */ /* We convert this as double byte */
174cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8C */ /* We convert this as double byte */
175cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8D */ /* We convert this as double byte */
176cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8E */ /* We convert this as double byte */
177cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8F */ /* We convert this as double byte */
178cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x90 */ /* We convert this as double byte */
179cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x91 */ /* We convert this as double byte */
180cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x92 */ /* We convert this as double byte */
181cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x93 */ /* We convert this as double byte */
182cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x94 */ /* We convert this as double byte */
183cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x95 */ /* We convert this as double byte */
184cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x96 */ /* We convert this as double byte */
185cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x97 */ /* We convert this as double byte */
186cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x98 */ /* We convert this as double byte */
187cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x99 */ /* We convert this as double byte */
188cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9A */ /* We convert this as double byte */
189cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9B */ /* We convert this as double byte */
190cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9C */ /* We convert this as double byte */
191cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9D */ /* We convert this as double byte */
192cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9E */ /* We convert this as double byte */
193cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9F */ /* We convert this as double byte */
194cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xA0 */ /* We convert this as double byte */
195cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A1 },          /* 0xA1 */
196cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A2 },          /* 0xA2 */
197cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A3 },          /* 0xA3 */
198cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A4 },          /* 0xA4 */
199cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A5 },          /* 0xA5 */
200cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A6 },          /* 0xA6 */
201cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A7 },          /* 0xA7 */
202cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A8 },          /* 0xA8 */
203cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A9 },          /* 0xA9 */
204cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AA },          /* 0xAA */
205cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AB },          /* 0xAB */
206cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AC },          /* 0xAC */
207cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AD },          /* 0xAD */
208cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AE },          /* 0xAE */
209cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AF },          /* 0xAF */
210cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B0 },          /* 0xB0 */
211cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B1 },          /* 0xB1 */
212cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B2 },          /* 0xB2 */
213cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B3 },          /* 0xB3 */
214cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B4 },          /* 0xB4 */
215cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B5 },          /* 0xB5 */
216cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B6 },          /* 0xB6 */
217cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B7 },          /* 0xB7 */
218cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B8 },          /* 0xB8 */
219cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B9 },          /* 0xB9 */
220cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BA },          /* 0xBA */
221cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BB },          /* 0xBB */
222cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BC },          /* 0xBC */
223cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BD },          /* 0xBD */
224cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BE },          /* 0xBE */
225cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BF },          /* 0xBF */
226cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C0 },          /* 0xC0 */
227cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C1 },          /* 0xC1 */
228cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C2 },          /* 0xC2 */
229cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C3 },          /* 0xC3 */
230cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C4 },          /* 0xC4 */
231cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C5 },          /* 0xC5 */
232cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5ONLY_C6 },      /* 0xC6 */
233cdf0e10cSrcweir    {      0, 0x40, 0xFC, aImplDBCSToUniTab_BIG5ONLY_C7 },      /* 0xC7 */
234cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xC8 */ /* We convert this as double byte */
235cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C9 },          /* 0xC9 */
236cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CA },          /* 0xCA */
237cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CB },          /* 0xCB */
238cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CC },          /* 0xCC */
239cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CD },          /* 0xCD */
240cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CE },          /* 0xCE */
241cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CF },          /* 0xCF */
242cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D0 },          /* 0xD0 */
243cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D1 },          /* 0xD1 */
244cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D2 },          /* 0xD2 */
245cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D3 },          /* 0xD3 */
246cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D4 },          /* 0xD4 */
247cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D5 },          /* 0xD5 */
248cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D6 },          /* 0xD6 */
249cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D7 },          /* 0xD7 */
250cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D8 },          /* 0xD8 */
251cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D9 },          /* 0xD9 */
252cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DA },          /* 0xDA */
253cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DB },          /* 0xDB */
254cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DC },          /* 0xDC */
255cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DD },          /* 0xDD */
256cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DE },          /* 0xDE */
257cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DF },          /* 0xDF */
258cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E0 },          /* 0xE0 */
259cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E1 },          /* 0xE1 */
260cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E2 },          /* 0xE2 */
261cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E3 },          /* 0xE3 */
262cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E4 },          /* 0xE4 */
263cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E5 },          /* 0xE5 */
264cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E6 },          /* 0xE6 */
265cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E7 },          /* 0xE7 */
266cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E8 },          /* 0xE8 */
267cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E9 },          /* 0xE9 */
268cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EA },          /* 0xEA */
269cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EB },          /* 0xEB */
270cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EC },          /* 0xEC */
271cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_ED },          /* 0xED */
272cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EE },          /* 0xEE */
273cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EF },          /* 0xEF */
274cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F0 },          /* 0xF0 */
275cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F1 },          /* 0xF1 */
276cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F2 },          /* 0xF2 */
277cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F3 },          /* 0xF3 */
278cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F4 },          /* 0xF4 */
279cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F5 },          /* 0xF5 */
280cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F6 },          /* 0xF6 */
281cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F7 },          /* 0xF7 */
282cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F8 },          /* 0xF8 */
283cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F9 },          /* 0xF9 */
284cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFA */ /* We convert this as double byte */
285cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFB */ /* We convert this as double byte */
286cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFC */ /* We convert this as double byte */
287cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFD */ /* We convert this as double byte */
288cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFE */ /* We convert this as double byte */
289cdf0e10cSrcweir    {      0,    1,    0, NULL }                                /* 0xFF */
290cdf0e10cSrcweir};
291cdf0e10cSrcweir
292cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
293cdf0e10cSrcweir
294cdf0e10cSrcweirstatic ImplUniToDBCSHighTab const aBIG5DBCSHighTab[256] =
295cdf0e10cSrcweir{
296cdf0e10cSrcweir    { 0x00, 0xF7, aImplUniToDBCSTab_BIG5_00 },                  /* 0x00 */
297cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x01 */
298cdf0e10cSrcweir    { 0xC7, 0xD9, aImplUniToDBCSTab_BIG5_02 },                  /* 0x02 */
299cdf0e10cSrcweir    { 0x91, 0xC9, aImplUniToDBCSTab_BIG5_03 },                  /* 0x03 */
300cdf0e10cSrcweir    { 0x01, 0x51, aImplUniToDBCSTab_BIG5_04 },                  /* 0x04 */
301cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x05 */
302cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x06 */
303cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x07 */
304cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x08 */
305cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x09 */
306cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0A */
307cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0B */
308cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0C */
309cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0D */
310cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0E */
311cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0F */
312cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x10 */
313cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x11 */
314cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x12 */
315cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x13 */
316cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x14 */
317cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x15 */
318cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x16 */
319cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x17 */
320cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x18 */
321cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x19 */
322cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1A */
323cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1B */
324cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1C */
325cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1D */
326cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1E */
327cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1F */
328cdf0e10cSrcweir    { 0x13, 0xAC, aImplUniToDBCSTab_BIG5_20 },                  /* 0x20 */
329cdf0e10cSrcweir    { 0x03, 0x99, aImplUniToDBCSTab_BIG5_21 },                  /* 0x21 */
330cdf0e10cSrcweir    { 0x15, 0xEF, aImplUniToDBCSTab_BIG5_22 },                  /* 0x22 */
331cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x23 */
332cdf0e10cSrcweir    { 0x60, 0x7D, aImplUniToDBCSTab_BIG5_24 },                  /* 0x24 */
333cdf0e10cSrcweir    { 0x00, 0xE5, aImplUniToDBCSTab_BIG5_25 },                  /* 0x25 */
334cdf0e10cSrcweir    { 0x05, 0x42, aImplUniToDBCSTab_BIG5_26 },                  /* 0x25 */
335cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x27 */
336cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x28 */
337cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x29 */
338cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2A */
339cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2B */
340cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2C */
341cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2D */
342cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2E */
343cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2F */
344cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_30 },                  /* 0x30 */
345cdf0e10cSrcweir    { 0x05, 0x29, aImplUniToDBCSTab_BIG5_31 },                  /* 0x31 */
346cdf0e10cSrcweir    { 0xA3, 0xA3, aImplUniToDBCSTab_BIG5_32 },                  /* 0x32 */
347cdf0e10cSrcweir    { 0x8E, 0xD5, aImplUniToDBCSTab_BIG5_33 },                  /* 0x33 */
348cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x34 */
349cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x35 */
350cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x36 */
351cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x37 */
352cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x38 */
353cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x39 */
354cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3A */
355cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3B */
356cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3C */
357cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3D */
358cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3E */
359cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3F */
360cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x40 */
361cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x41 */
362cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x42 */
363cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x43 */
364cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x44 */
365cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x45 */
366cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x46 */
367cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x47 */
368cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x48 */
369cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x49 */
370cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4A */
371cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4B */
372cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4C */
373cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4D */
374cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_4E },                  /* 0x4E */
375cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_4F },                  /* 0x4F */
376cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_50 },                  /* 0x50 */
377cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_51 },                  /* 0x51 */
378cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_52 },                  /* 0x52 */
379cdf0e10cSrcweir    { 0x05, 0xFC, aImplUniToDBCSTab_BIG5_53 },                  /* 0x53 */
380cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_54 },                  /* 0x54 */
381cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_55 },                  /* 0x55 */
382cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_56 },                  /* 0x56 */
383cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_57 },                  /* 0x57 */
384cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_58 },                  /* 0x58 */
385cdf0e10cSrcweir    { 0x03, 0xFF, aImplUniToDBCSTab_BIG5_59 },                  /* 0x59 */
386cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5A },                  /* 0x5A */
387cdf0e10cSrcweir    { 0x01, 0xFA, aImplUniToDBCSTab_BIG5_5B },                  /* 0x5B */
388cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5C },                  /* 0x5C */
389cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5D },                  /* 0x5D */
390cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_5E },                  /* 0x5E */
391cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5F },                  /* 0x5F */
392cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_60 },                  /* 0x60 */
393cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_61 },                  /* 0x61 */
394cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_62 },                  /* 0x62 */
395cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_63 },                  /* 0x63 */
396cdf0e10cSrcweir    { 0x06, 0xFF, aImplUniToDBCSTab_BIG5_64 },                  /* 0x64 */
397cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_65 },                  /* 0x65 */
398cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_66 },                  /* 0x66 */
399cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_67 },                  /* 0x67 */
400cdf0e10cSrcweir    { 0x12, 0xFD, aImplUniToDBCSTab_BIG5_68 },                  /* 0x68 */
401cdf0e10cSrcweir    { 0x04, 0xFF, aImplUniToDBCSTab_BIG5_69 },                  /* 0x69 */
402cdf0e10cSrcweir    { 0x00, 0xFC, aImplUniToDBCSTab_BIG5_6A },                  /* 0x6A */
403cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6B },                  /* 0x6B */
404cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_6C },                  /* 0x6C */
405cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_6D },                  /* 0x6D */
406cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6E },                  /* 0x6E */
407cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6F },                  /* 0x6F */
408cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_70 },                  /* 0x70 */
409cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_71 },                  /* 0x71 */
410cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_72 },                  /* 0x72 */
411cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_73 },                  /* 0x73 */
412cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_74 },                  /* 0x74 */
413cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_75 },                  /* 0x75 */
414cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_76 },                  /* 0x76 */
415cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_77 },                  /* 0x77 */
416cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_78 },                  /* 0x78 */
417cdf0e10cSrcweir    { 0x01, 0xFB, aImplUniToDBCSTab_BIG5_79 },                  /* 0x79 */
418cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7A },                  /* 0x7A */
419cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7B },                  /* 0x7B */
420cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_7C },                  /* 0x7C */
421cdf0e10cSrcweir    { 0x00, 0xFB, aImplUniToDBCSTab_BIG5_7D },                  /* 0x7D */
422cdf0e10cSrcweir    { 0x03, 0x9C, aImplUniToDBCSTab_BIG5_7E },                  /* 0x7E */
423cdf0e10cSrcweir    { 0x36, 0xFF, aImplUniToDBCSTab_BIG5_7F },                  /* 0x7F */
424cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_80 },                  /* 0x80 */
425cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_81 },                  /* 0x81 */
426cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_82 },                  /* 0x82 */
427cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_83 },                  /* 0x83 */
428cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_84 },                  /* 0x84 */
429cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_85 },                  /* 0x85 */
430cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_86 },                  /* 0x86 */
431cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_87 },                  /* 0x87 */
432cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_88 },                  /* 0x88 */
433cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_89 },                  /* 0x89 */
434cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8A },                  /* 0x8A */
435cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8B },                  /* 0x8B */
436cdf0e10cSrcweir    { 0x37, 0xFE, aImplUniToDBCSTab_BIG5_8C },                  /* 0x8C */
437cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8D },                  /* 0x8D */
438cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8E },                  /* 0x8E */
439cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8F },                  /* 0x8F */
440cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_90 },                  /* 0x90 */
441cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_91 },                  /* 0x91 */
442cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_92 },                  /* 0x92 */
443cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_93 },                  /* 0x93 */
444cdf0e10cSrcweir    { 0x00, 0x83, aImplUniToDBCSTab_BIG5_94 },                  /* 0x94 */
445cdf0e10cSrcweir    { 0x77, 0xE5, aImplUniToDBCSTab_BIG5_95 },                  /* 0x95 */
446cdf0e10cSrcweir    { 0x1C, 0xFF, aImplUniToDBCSTab_BIG5_96 },                  /* 0x96 */
447cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_97 },                  /* 0x97 */
448cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_98 },                  /* 0x98 */
449cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_99 },                  /* 0x99 */
450cdf0e10cSrcweir    { 0x01, 0xFE, aImplUniToDBCSTab_BIG5_9A },                  /* 0x9A */
451cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_9B },                  /* 0x9B */
452cdf0e10cSrcweir    { 0x05, 0xFF, aImplUniToDBCSTab_BIG5_9C },                  /* 0x9C */
453cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9D },                  /* 0x9D */
454cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9E },                  /* 0x9E */
455cdf0e10cSrcweir    { 0x00, 0xA4, aImplUniToDBCSTab_BIG5_9F },                  /* 0x9F */
456cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA0 */
457cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA1 */
458cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA2 */
459cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA3 */
460cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA4 */
461cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA5 */
462cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA6 */
463cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA7 */
464cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA8 */
465cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA9 */
466cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAA */
467cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAB */
468cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAC */
469cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAD */
470cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAE */
471cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAF */
472cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB0 */
473cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB1 */
474cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB2 */
475cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB3 */
476cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB4 */
477cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB5 */
478cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB6 */
479cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB7 */
480cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB8 */
481cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB9 */
482cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBA */
483cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBB */
484cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBC */
485cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBD */
486cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBE */
487cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBF */
488cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC0 */
489cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC1 */
490cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC2 */
491cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC3 */
492cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC4 */
493cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC5 */
494cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC6 */
495cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC7 */
496cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC8 */
497cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC9 */
498cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCA */
499cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCB */
500cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCC */
501cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCD */
502cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCE */
503cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCF */
504cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD0 */
505cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD1 */
506cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD2 */
507cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD3 */
508cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD4 */
509cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD5 */
510cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD6 */
511cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD7 */
512cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD8 */
513cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD9 */
514cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDA */
515cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDB */
516cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDC */
517cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDD */
518cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDE */
519cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDF */
520cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE0 */
521cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE1 */
522cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE2 */
523cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE3 */
524cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE4 */
525cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE5 */
526cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE6 */
527cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE7 */
528cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE8 */
529cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE9 */
530cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEA */
531cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEB */
532cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEC */
533cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xED */
534cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEE */
535cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEF */
536cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF0 */
537cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF1 */
538cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF2 */
539cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF3 */
540cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF4 */
541cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF5 */
542cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF6 */
543cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF7 */
544cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF8 */
545cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF9 */
546cdf0e10cSrcweir    { 0x0C, 0x0D, aImplUniToDBCSTab_BIG5_FA },                  /* 0xFA */
547cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFB */
548cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFC */
549cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFD */
550cdf0e10cSrcweir    { 0x30, 0x6B, aImplUniToDBCSTab_BIG5_FE },                  /* 0xFE */
551cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_FF }                   /* 0xFF */
552cdf0e10cSrcweir};
553cdf0e10cSrcweir
554cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
555cdf0e10cSrcweir
556cdf0e10cSrcweir/* FA40-FEFE --> E000-E310 */
557cdf0e10cSrcweir/* 8E40-A0FE --> E311-EEB7 */
558cdf0e10cSrcweir/* 8140-8DFE --> EEB8-F6B0 */
559cdf0e10cSrcweir/* C6A1-C6FE --> F6B1-F70E */
560cdf0e10cSrcweir/* C740-C8FE --> F70F-F848 */
561cdf0e10cSrcweir
562cdf0e10cSrcweir#define DBCS_EUDC_MS950_COUNT       5
563cdf0e10cSrcweirstatic ImplDBCSEUDCData const aImplMS950DBCSEUDCTab[DBCS_EUDC_MS950_COUNT] =
564cdf0e10cSrcweir{
565cdf0e10cSrcweir    /* EUDC-Range */
566cdf0e10cSrcweir    /* Lead:    FA-FE */
567cdf0e10cSrcweir    /* Trail:   40-7E, A1-FE */
568cdf0e10cSrcweir    { 0xFA, 0xFE, 0x40, 0x7E, 0xA1, 0xFE, 0, 0, 2, 0x9D, 0xE000, 0xE310 },
569cdf0e10cSrcweir    /* Lead:    8E-A0 */
570cdf0e10cSrcweir    /* Trail:   40-7E, A1-FE */
571cdf0e10cSrcweir    { 0x8E, 0xA0, 0x40, 0x7E, 0xA1, 0xFE, 0, 0, 2, 0x9D, 0xE311, 0xEEB7 },
572cdf0e10cSrcweir    /* Lead:    81-8D */
573cdf0e10cSrcweir    /* Trail:   40-7E, A1-FE */
574cdf0e10cSrcweir    { 0x81, 0x8D, 0x40, 0x7E, 0xA1, 0xFE, 0, 0, 2, 0x9D, 0xEEB8, 0xF6B0 },
575cdf0e10cSrcweir    /* Lead:    C6-C6 */
576cdf0e10cSrcweir    /* Trail:   A1-FE */
577cdf0e10cSrcweir    { 0xC6, 0xC6, 0xA1, 0xFE, 0, 0, 0, 0, 1, 0x5E, 0xF6B1, 0xF70E },
578cdf0e10cSrcweir    /* Lead:    C7-C8 */
579cdf0e10cSrcweir    /* Trail:   40-7E, A1-FE */
580cdf0e10cSrcweir    { 0xC7, 0xC8, 0x40, 0x7E, 0xA1, 0xFE, 0, 0, 2, 0x9D, 0xF70F, 0xF848 }
581cdf0e10cSrcweir};
582cdf0e10cSrcweir
583cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
584cdf0e10cSrcweir
585cdf0e10cSrcweirstatic ImplDBCSConvertData const aImplBIG5DBCSCvtData =
586cdf0e10cSrcweir{
587cdf0e10cSrcweir    aBIG5UniLeadTab,
588cdf0e10cSrcweir    aBIG5DBCSHighTab,
589cdf0e10cSrcweir    0x00, 0xFF,
590cdf0e10cSrcweir    0x40, 0xFE,
591cdf0e10cSrcweir    aImplMS950DBCSEUDCTab,
592cdf0e10cSrcweir    DBCS_EUDC_MS950_COUNT
593cdf0e10cSrcweir};
594cdf0e10cSrcweir
595cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
596cdf0e10cSrcweir
597cdf0e10cSrcweirstatic ImplTextEncodingData const aImplBIG5TextEncodingData
598cdf0e10cSrcweir    = { { &aImplBIG5DBCSCvtData,
599cdf0e10cSrcweir          ImplDBCSToUnicode,
600cdf0e10cSrcweir          ImplUnicodeToDBCS,
601cdf0e10cSrcweir          NULL,
602cdf0e10cSrcweir          NULL,
603cdf0e10cSrcweir          NULL,
604cdf0e10cSrcweir          NULL,
605cdf0e10cSrcweir          NULL,
606cdf0e10cSrcweir          NULL },
607cdf0e10cSrcweir        1,
608cdf0e10cSrcweir        2,
609cdf0e10cSrcweir        2,
610cdf0e10cSrcweir        136,
611cdf0e10cSrcweir        "euc-tw",
612cdf0e10cSrcweir        "big5",
613cdf0e10cSrcweir        RTL_TEXTENCODING_INFO_MULTIBYTE | RTL_TEXTENCODING_INFO_MIME };
614cdf0e10cSrcweir    /* SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding 2 */
615cdf0e10cSrcweir
616cdf0e10cSrcweir/* ======================================================================= */
617cdf0e10cSrcweir
618cdf0e10cSrcweirstatic ImplDBCSToUniLeadTab const aMS950UniLeadTab[256] =
619cdf0e10cSrcweir{
620cdf0e10cSrcweir    { 0x0000,    0,    0, NULL },                               /* 0x00 */
621cdf0e10cSrcweir    { 0x0001,    0,    0, NULL },                               /* 0x01 */
622cdf0e10cSrcweir    { 0x0002,    0,    0, NULL },                               /* 0x02 */
623cdf0e10cSrcweir    { 0x0003,    0,    0, NULL },                               /* 0x03 */
624cdf0e10cSrcweir    { 0x0004,    0,    0, NULL },                               /* 0x04 */
625cdf0e10cSrcweir    { 0x0005,    0,    0, NULL },                               /* 0x05 */
626cdf0e10cSrcweir    { 0x0006,    0,    0, NULL },                               /* 0x06 */
627cdf0e10cSrcweir    { 0x0007,    0,    0, NULL },                               /* 0x07 */
628cdf0e10cSrcweir    { 0x0008,    0,    0, NULL },                               /* 0x08 */
629cdf0e10cSrcweir    { 0x0009,    0,    0, NULL },                               /* 0x09 */
630cdf0e10cSrcweir    { 0x000A,    0,    0, NULL },                               /* 0x0A */
631cdf0e10cSrcweir    { 0x000B,    0,    0, NULL },                               /* 0x0B */
632cdf0e10cSrcweir    { 0x000C,    0,    0, NULL },                               /* 0x0C */
633cdf0e10cSrcweir    { 0x000D,    0,    0, NULL },                               /* 0x0D */
634cdf0e10cSrcweir    { 0x000E,    0,    0, NULL },                               /* 0x0E */
635cdf0e10cSrcweir    { 0x000F,    0,    0, NULL },                               /* 0x0F */
636cdf0e10cSrcweir    { 0x0010,    0,    0, NULL },                               /* 0x10 */
637cdf0e10cSrcweir    { 0x0011,    0,    0, NULL },                               /* 0x11 */
638cdf0e10cSrcweir    { 0x0012,    0,    0, NULL },                               /* 0x12 */
639cdf0e10cSrcweir    { 0x0013,    0,    0, NULL },                               /* 0x13 */
640cdf0e10cSrcweir    { 0x0014,    0,    0, NULL },                               /* 0x14 */
641cdf0e10cSrcweir    { 0x0015,    0,    0, NULL },                               /* 0x15 */
642cdf0e10cSrcweir    { 0x0016,    0,    0, NULL },                               /* 0x16 */
643cdf0e10cSrcweir    { 0x0017,    0,    0, NULL },                               /* 0x17 */
644cdf0e10cSrcweir    { 0x0018,    0,    0, NULL },                               /* 0x18 */
645cdf0e10cSrcweir    { 0x0019,    0,    0, NULL },                               /* 0x19 */
646cdf0e10cSrcweir    { 0x001A,    0,    0, NULL },                               /* 0x1A */
647cdf0e10cSrcweir    { 0x001B,    0,    0, NULL },                               /* 0x1B */
648cdf0e10cSrcweir    { 0x001C,    0,    0, NULL },                               /* 0x1C */
649cdf0e10cSrcweir    { 0x001D,    0,    0, NULL },                               /* 0x1D */
650cdf0e10cSrcweir    { 0x001E,    0,    0, NULL },                               /* 0x1E */
651cdf0e10cSrcweir    { 0x001F,    0,    0, NULL },                               /* 0x1F */
652cdf0e10cSrcweir    { 0x0020,    0,    0, NULL },                               /* 0x20 */
653cdf0e10cSrcweir    { 0x0021,    0,    0, NULL },                               /* 0x21 */
654cdf0e10cSrcweir    { 0x0022,    0,    0, NULL },                               /* 0x22 */
655cdf0e10cSrcweir    { 0x0023,    0,    0, NULL },                               /* 0x23 */
656cdf0e10cSrcweir    { 0x0024,    0,    0, NULL },                               /* 0x24 */
657cdf0e10cSrcweir    { 0x0025,    0,    0, NULL },                               /* 0x25 */
658cdf0e10cSrcweir    { 0x0026,    0,    0, NULL },                               /* 0x26 */
659cdf0e10cSrcweir    { 0x0027,    0,    0, NULL },                               /* 0x27 */
660cdf0e10cSrcweir    { 0x0028,    0,    0, NULL },                               /* 0x28 */
661cdf0e10cSrcweir    { 0x0029,    0,    0, NULL },                               /* 0x29 */
662cdf0e10cSrcweir    { 0x002A,    0,    0, NULL },                               /* 0x2A */
663cdf0e10cSrcweir    { 0x002B,    0,    0, NULL },                               /* 0x2B */
664cdf0e10cSrcweir    { 0x002C,    0,    0, NULL },                               /* 0x2C */
665cdf0e10cSrcweir    { 0x002D,    0,    0, NULL },                               /* 0x2D */
666cdf0e10cSrcweir    { 0x002E,    0,    0, NULL },                               /* 0x2E */
667cdf0e10cSrcweir    { 0x002F,    0,    0, NULL },                               /* 0x2F */
668cdf0e10cSrcweir    { 0x0030,    0,    0, NULL },                               /* 0x30 */
669cdf0e10cSrcweir    { 0x0031,    0,    0, NULL },                               /* 0x31 */
670cdf0e10cSrcweir    { 0x0032,    0,    0, NULL },                               /* 0x32 */
671cdf0e10cSrcweir    { 0x0033,    0,    0, NULL },                               /* 0x33 */
672cdf0e10cSrcweir    { 0x0034,    0,    0, NULL },                               /* 0x34 */
673cdf0e10cSrcweir    { 0x0035,    0,    0, NULL },                               /* 0x35 */
674cdf0e10cSrcweir    { 0x0036,    0,    0, NULL },                               /* 0x36 */
675cdf0e10cSrcweir    { 0x0037,    0,    0, NULL },                               /* 0x37 */
676cdf0e10cSrcweir    { 0x0038,    0,    0, NULL },                               /* 0x38 */
677cdf0e10cSrcweir    { 0x0039,    0,    0, NULL },                               /* 0x39 */
678cdf0e10cSrcweir    { 0x003A,    0,    0, NULL },                               /* 0x3A */
679cdf0e10cSrcweir    { 0x003B,    0,    0, NULL },                               /* 0x3B */
680cdf0e10cSrcweir    { 0x003C,    0,    0, NULL },                               /* 0x3C */
681cdf0e10cSrcweir    { 0x003D,    0,    0, NULL },                               /* 0x3D */
682cdf0e10cSrcweir    { 0x003E,    0,    0, NULL },                               /* 0x3E */
683cdf0e10cSrcweir    { 0x003F,    0,    0, NULL },                               /* 0x3F */
684cdf0e10cSrcweir    { 0x0040,    0,    0, NULL },                               /* 0x40 */
685cdf0e10cSrcweir    { 0x0041,    0,    0, NULL },                               /* 0x41 */
686cdf0e10cSrcweir    { 0x0042,    0,    0, NULL },                               /* 0x42 */
687cdf0e10cSrcweir    { 0x0043,    0,    0, NULL },                               /* 0x43 */
688cdf0e10cSrcweir    { 0x0044,    0,    0, NULL },                               /* 0x44 */
689cdf0e10cSrcweir    { 0x0045,    0,    0, NULL },                               /* 0x45 */
690cdf0e10cSrcweir    { 0x0046,    0,    0, NULL },                               /* 0x46 */
691cdf0e10cSrcweir    { 0x0047,    0,    0, NULL },                               /* 0x47 */
692cdf0e10cSrcweir    { 0x0048,    0,    0, NULL },                               /* 0x48 */
693cdf0e10cSrcweir    { 0x0049,    0,    0, NULL },                               /* 0x49 */
694cdf0e10cSrcweir    { 0x004A,    0,    0, NULL },                               /* 0x4A */
695cdf0e10cSrcweir    { 0x004B,    0,    0, NULL },                               /* 0x4B */
696cdf0e10cSrcweir    { 0x004C,    0,    0, NULL },                               /* 0x4C */
697cdf0e10cSrcweir    { 0x004D,    0,    0, NULL },                               /* 0x4D */
698cdf0e10cSrcweir    { 0x004E,    0,    0, NULL },                               /* 0x4E */
699cdf0e10cSrcweir    { 0x004F,    0,    0, NULL },                               /* 0x4F */
700cdf0e10cSrcweir    { 0x0050,    0,    0, NULL },                               /* 0x50 */
701cdf0e10cSrcweir    { 0x0051,    0,    0, NULL },                               /* 0x51 */
702cdf0e10cSrcweir    { 0x0052,    0,    0, NULL },                               /* 0x52 */
703cdf0e10cSrcweir    { 0x0053,    0,    0, NULL },                               /* 0x53 */
704cdf0e10cSrcweir    { 0x0054,    0,    0, NULL },                               /* 0x54 */
705cdf0e10cSrcweir    { 0x0055,    0,    0, NULL },                               /* 0x55 */
706cdf0e10cSrcweir    { 0x0056,    0,    0, NULL },                               /* 0x56 */
707cdf0e10cSrcweir    { 0x0057,    0,    0, NULL },                               /* 0x57 */
708cdf0e10cSrcweir    { 0x0058,    0,    0, NULL },                               /* 0x58 */
709cdf0e10cSrcweir    { 0x0059,    0,    0, NULL },                               /* 0x59 */
710cdf0e10cSrcweir    { 0x005A,    0,    0, NULL },                               /* 0x5A */
711cdf0e10cSrcweir    { 0x005B,    0,    0, NULL },                               /* 0x5B */
712cdf0e10cSrcweir    { 0x005C,    0,    0, NULL },                               /* 0x5C */
713cdf0e10cSrcweir    { 0x005D,    0,    0, NULL },                               /* 0x5D */
714cdf0e10cSrcweir    { 0x005E,    0,    0, NULL },                               /* 0x5E */
715cdf0e10cSrcweir    { 0x005F,    0,    0, NULL },                               /* 0x5F */
716cdf0e10cSrcweir    { 0x0060,    0,    0, NULL },                               /* 0x60 */
717cdf0e10cSrcweir    { 0x0061,    0,    0, NULL },                               /* 0x61 */
718cdf0e10cSrcweir    { 0x0062,    0,    0, NULL },                               /* 0x62 */
719cdf0e10cSrcweir    { 0x0063,    0,    0, NULL },                               /* 0x63 */
720cdf0e10cSrcweir    { 0x0064,    0,    0, NULL },                               /* 0x64 */
721cdf0e10cSrcweir    { 0x0065,    0,    0, NULL },                               /* 0x65 */
722cdf0e10cSrcweir    { 0x0066,    0,    0, NULL },                               /* 0x66 */
723cdf0e10cSrcweir    { 0x0067,    0,    0, NULL },                               /* 0x67 */
724cdf0e10cSrcweir    { 0x0068,    0,    0, NULL },                               /* 0x68 */
725cdf0e10cSrcweir    { 0x0069,    0,    0, NULL },                               /* 0x69 */
726cdf0e10cSrcweir    { 0x006A,    0,    0, NULL },                               /* 0x6A */
727cdf0e10cSrcweir    { 0x006B,    0,    0, NULL },                               /* 0x6B */
728cdf0e10cSrcweir    { 0x006C,    0,    0, NULL },                               /* 0x6C */
729cdf0e10cSrcweir    { 0x006D,    0,    0, NULL },                               /* 0x6D */
730cdf0e10cSrcweir    { 0x006E,    0,    0, NULL },                               /* 0x6E */
731cdf0e10cSrcweir    { 0x006F,    0,    0, NULL },                               /* 0x6F */
732cdf0e10cSrcweir    { 0x0070,    0,    0, NULL },                               /* 0x70 */
733cdf0e10cSrcweir    { 0x0071,    0,    0, NULL },                               /* 0x71 */
734cdf0e10cSrcweir    { 0x0072,    0,    0, NULL },                               /* 0x72 */
735cdf0e10cSrcweir    { 0x0073,    0,    0, NULL },                               /* 0x73 */
736cdf0e10cSrcweir    { 0x0074,    0,    0, NULL },                               /* 0x74 */
737cdf0e10cSrcweir    { 0x0075,    0,    0, NULL },                               /* 0x75 */
738cdf0e10cSrcweir    { 0x0076,    0,    0, NULL },                               /* 0x76 */
739cdf0e10cSrcweir    { 0x0077,    0,    0, NULL },                               /* 0x77 */
740cdf0e10cSrcweir    { 0x0078,    0,    0, NULL },                               /* 0x78 */
741cdf0e10cSrcweir    { 0x0079,    0,    0, NULL },                               /* 0x79 */
742cdf0e10cSrcweir    { 0x007A,    0,    0, NULL },                               /* 0x7A */
743cdf0e10cSrcweir    { 0x007B,    0,    0, NULL },                               /* 0x7B */
744cdf0e10cSrcweir    { 0x007C,    0,    0, NULL },                               /* 0x7C */
745cdf0e10cSrcweir    { 0x007D,    0,    0, NULL },                               /* 0x7D */
746cdf0e10cSrcweir    { 0x007E,    0,    0, NULL },                               /* 0x7E */
747cdf0e10cSrcweir    { 0x007F,    0,    0, NULL },                               /* 0x7F */
748cdf0e10cSrcweir    {      0,    1,    0, NULL },                               /* 0x80 */
749cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x81 */ /* We convert this as double byte */
750cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x82 */ /* We convert this as double byte */
751cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x83 */ /* We convert this as double byte */
752cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x84 */ /* We convert this as double byte */
753cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x85 */ /* We convert this as double byte */
754cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x86 */ /* We convert this as double byte */
755cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x87 */ /* We convert this as double byte */
756cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x88 */ /* We convert this as double byte */
757cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x89 */ /* We convert this as double byte */
758cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8A */ /* We convert this as double byte */
759cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8B */ /* We convert this as double byte */
760cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8C */ /* We convert this as double byte */
761cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8D */ /* We convert this as double byte */
762cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8E */ /* We convert this as double byte */
763cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8F */ /* We convert this as double byte */
764cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x90 */ /* We convert this as double byte */
765cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x91 */ /* We convert this as double byte */
766cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x92 */ /* We convert this as double byte */
767cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x93 */ /* We convert this as double byte */
768cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x94 */ /* We convert this as double byte */
769cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x95 */ /* We convert this as double byte */
770cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x96 */ /* We convert this as double byte */
771cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x97 */ /* We convert this as double byte */
772cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x98 */ /* We convert this as double byte */
773cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x99 */ /* We convert this as double byte */
774cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9A */ /* We convert this as double byte */
775cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9B */ /* We convert this as double byte */
776cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9C */ /* We convert this as double byte */
777cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9D */ /* We convert this as double byte */
778cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9E */ /* We convert this as double byte */
779cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9F */ /* We convert this as double byte */
780cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xA0 */ /* We convert this as double byte */
781cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A1 },          /* 0xA1 */
782cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A2 },          /* 0xA2 */
783cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A3 },          /* 0xA3 */
784cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A4 },          /* 0xA4 */
785cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A5 },          /* 0xA5 */
786cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A6 },          /* 0xA6 */
787cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A7 },          /* 0xA7 */
788cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A8 },          /* 0xA8 */
789cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A9 },          /* 0xA9 */
790cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AA },          /* 0xAA */
791cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AB },          /* 0xAB */
792cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AC },          /* 0xAC */
793cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AD },          /* 0xAD */
794cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AE },          /* 0xAE */
795cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AF },          /* 0xAF */
796cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B0 },          /* 0xB0 */
797cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B1 },          /* 0xB1 */
798cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B2 },          /* 0xB2 */
799cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B3 },          /* 0xB3 */
800cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B4 },          /* 0xB4 */
801cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B5 },          /* 0xB5 */
802cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B6 },          /* 0xB6 */
803cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B7 },          /* 0xB7 */
804cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B8 },          /* 0xB8 */
805cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B9 },          /* 0xB9 */
806cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BA },          /* 0xBA */
807cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BB },          /* 0xBB */
808cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BC },          /* 0xBC */
809cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BD },          /* 0xBD */
810cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BE },          /* 0xBE */
811cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BF },          /* 0xBF */
812cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C0 },          /* 0xC0 */
813cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C1 },          /* 0xC1 */
814cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C2 },          /* 0xC2 */
815cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C3 },          /* 0xC3 */
816cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C4 },          /* 0xC4 */
817cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C5 },          /* 0xC5 */
818cdf0e10cSrcweir    {      0, 0x40, 0x7E, aImplDBCSToUniTab_BIG5_C6 },          /* 0xC6 */
819cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xC7 */ /* We convert this as double byte */
820cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xC8 */ /* We convert this as double byte */
821cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C9 },          /* 0xC9 */
822cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CA },          /* 0xCA */
823cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CB },          /* 0xCB */
824cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CC },          /* 0xCC */
825cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CD },          /* 0xCD */
826cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CE },          /* 0xCE */
827cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CF },          /* 0xCF */
828cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D0 },          /* 0xD0 */
829cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D1 },          /* 0xD1 */
830cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D2 },          /* 0xD2 */
831cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D3 },          /* 0xD3 */
832cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D4 },          /* 0xD4 */
833cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D5 },          /* 0xD5 */
834cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D6 },          /* 0xD6 */
835cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D7 },          /* 0xD7 */
836cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D8 },          /* 0xD8 */
837cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D9 },          /* 0xD9 */
838cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DA },          /* 0xDA */
839cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DB },          /* 0xDB */
840cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DC },          /* 0xDC */
841cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DD },          /* 0xDD */
842cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DE },          /* 0xDE */
843cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DF },          /* 0xDF */
844cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E0 },          /* 0xE0 */
845cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E1 },          /* 0xE1 */
846cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E2 },          /* 0xE2 */
847cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E3 },          /* 0xE3 */
848cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E4 },          /* 0xE4 */
849cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E5 },          /* 0xE5 */
850cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E6 },          /* 0xE6 */
851cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E7 },          /* 0xE7 */
852cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E8 },          /* 0xE8 */
853cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E9 },          /* 0xE9 */
854cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EA },          /* 0xEA */
855cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EB },          /* 0xEB */
856cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EC },          /* 0xEC */
857cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_ED },          /* 0xED */
858cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EE },          /* 0xEE */
859cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EF },          /* 0xEF */
860cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F0 },          /* 0xF0 */
861cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F1 },          /* 0xF1 */
862cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F2 },          /* 0xF2 */
863cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F3 },          /* 0xF3 */
864cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F4 },          /* 0xF4 */
865cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F5 },          /* 0xF5 */
866cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F6 },          /* 0xF6 */
867cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F7 },          /* 0xF7 */
868cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F8 },          /* 0xF8 */
869cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F9 },          /* 0xF9 */
870cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFA */ /* We convert this as double byte */
871cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFB */ /* We convert this as double byte */
872cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFC */ /* We convert this as double byte */
873cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFD */ /* We convert this as double byte */
874cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFE */ /* We convert this as double byte */
875cdf0e10cSrcweir    {      0,    1,    0, NULL }                                /* 0xFF */
876cdf0e10cSrcweir};
877cdf0e10cSrcweir
878cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
879cdf0e10cSrcweir
880cdf0e10cSrcweirstatic ImplUniToDBCSHighTab const aMS950DBCSHighTab[256] =
881cdf0e10cSrcweir{
882cdf0e10cSrcweir    { 0x00, 0xF7, aImplUniToDBCSTab_BIG5_00 },                  /* 0x00 */
883cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x01 */
884cdf0e10cSrcweir    { 0xC7, 0xD9, aImplUniToDBCSTab_BIG5_02 },                  /* 0x02 */
885cdf0e10cSrcweir    { 0x91, 0xC9, aImplUniToDBCSTab_BIG5_03 },                  /* 0x03 */
886cdf0e10cSrcweir    { 0x01, 0x51, aImplUniToDBCSTab_BIG5_04 },                  /* 0x04 */
887cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x05 */
888cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x06 */
889cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x07 */
890cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x08 */
891cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x09 */
892cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0A */
893cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0B */
894cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0C */
895cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0D */
896cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0E */
897cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0F */
898cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x10 */
899cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x11 */
900cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x12 */
901cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x13 */
902cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x14 */
903cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x15 */
904cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x16 */
905cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x17 */
906cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x18 */
907cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x19 */
908cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1A */
909cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1B */
910cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1C */
911cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1D */
912cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1E */
913cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1F */
914cdf0e10cSrcweir    { 0x13, 0xAC, aImplUniToDBCSTab_BIG5_20 },                  /* 0x20 */
915cdf0e10cSrcweir    { 0x03, 0x99, aImplUniToDBCSTab_BIG5_21 },                  /* 0x21 */
916cdf0e10cSrcweir    { 0x15, 0xEF, aImplUniToDBCSTab_BIG5_22 },                  /* 0x22 */
917cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x23 */
918cdf0e10cSrcweir    { 0x60, 0x7D, aImplUniToDBCSTab_BIG5_24 },                  /* 0x24 */
919cdf0e10cSrcweir    { 0x00, 0xE5, aImplUniToDBCSTab_BIG5_25 },                  /* 0x25 */
920cdf0e10cSrcweir    { 0x05, 0x42, aImplUniToDBCSTab_BIG5_26 },                  /* 0x25 */
921cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x27 */
922cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x28 */
923cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x29 */
924cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2A */
925cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2B */
926cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2C */
927cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2D */
928cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2E */
929cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2F */
930cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_30 },                  /* 0x30 */
931cdf0e10cSrcweir    { 0x05, 0x29, aImplUniToDBCSTab_BIG5_31 },                  /* 0x31 */
932cdf0e10cSrcweir    { 0xA3, 0xA3, aImplUniToDBCSTab_BIG5_32 },                  /* 0x32 */
933cdf0e10cSrcweir    { 0x8E, 0xD5, aImplUniToDBCSTab_BIG5_33 },                  /* 0x33 */
934cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x34 */
935cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x35 */
936cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x36 */
937cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x37 */
938cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x38 */
939cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x39 */
940cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3A */
941cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3B */
942cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3C */
943cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3D */
944cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3E */
945cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3F */
946cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x40 */
947cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x41 */
948cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x42 */
949cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x43 */
950cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x44 */
951cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x45 */
952cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x46 */
953cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x47 */
954cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x48 */
955cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x49 */
956cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4A */
957cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4B */
958cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4C */
959cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4D */
960cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_4E },                  /* 0x4E */
961cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_4F },                  /* 0x4F */
962cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_50 },                  /* 0x50 */
963cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_51 },                  /* 0x51 */
964cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_52 },                  /* 0x52 */
965cdf0e10cSrcweir    { 0x05, 0xFC, aImplUniToDBCSTab_BIG5_53 },                  /* 0x53 */
966cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_54 },                  /* 0x54 */
967cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_55 },                  /* 0x55 */
968cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_56 },                  /* 0x56 */
969cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_57 },                  /* 0x57 */
970cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_58 },                  /* 0x58 */
971cdf0e10cSrcweir    { 0x03, 0xFF, aImplUniToDBCSTab_BIG5_59 },                  /* 0x59 */
972cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5A },                  /* 0x5A */
973cdf0e10cSrcweir    { 0x01, 0xFA, aImplUniToDBCSTab_BIG5_5B },                  /* 0x5B */
974cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5C },                  /* 0x5C */
975cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5D },                  /* 0x5D */
976cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_5E },                  /* 0x5E */
977cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5F },                  /* 0x5F */
978cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_60 },                  /* 0x60 */
979cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_61 },                  /* 0x61 */
980cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_62 },                  /* 0x62 */
981cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_63 },                  /* 0x63 */
982cdf0e10cSrcweir    { 0x06, 0xFF, aImplUniToDBCSTab_BIG5_64 },                  /* 0x64 */
983cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_65 },                  /* 0x65 */
984cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_66 },                  /* 0x66 */
985cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_67 },                  /* 0x67 */
986cdf0e10cSrcweir    { 0x12, 0xFD, aImplUniToDBCSTab_BIG5_68 },                  /* 0x68 */
987cdf0e10cSrcweir    { 0x04, 0xFF, aImplUniToDBCSTab_BIG5_69 },                  /* 0x69 */
988cdf0e10cSrcweir    { 0x00, 0xFC, aImplUniToDBCSTab_BIG5_6A },                  /* 0x6A */
989cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6B },                  /* 0x6B */
990cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_6C },                  /* 0x6C */
991cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_6D },                  /* 0x6D */
992cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6E },                  /* 0x6E */
993cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6F },                  /* 0x6F */
994cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_70 },                  /* 0x70 */
995cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_71 },                  /* 0x71 */
996cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_72 },                  /* 0x72 */
997cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_73 },                  /* 0x73 */
998cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_74 },                  /* 0x74 */
999cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_75 },                  /* 0x75 */
1000cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_76 },                  /* 0x76 */
1001cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_77 },                  /* 0x77 */
1002cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_78 },                  /* 0x78 */
1003cdf0e10cSrcweir    { 0x01, 0xFB, aImplUniToDBCSTab_BIG5_79 },                  /* 0x79 */
1004cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7A },                  /* 0x7A */
1005cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7B },                  /* 0x7B */
1006cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_7C },                  /* 0x7C */
1007cdf0e10cSrcweir    { 0x00, 0xFB, aImplUniToDBCSTab_BIG5_7D },                  /* 0x7D */
1008cdf0e10cSrcweir    { 0x03, 0x9C, aImplUniToDBCSTab_BIG5_7E },                  /* 0x7E */
1009cdf0e10cSrcweir    { 0x36, 0xFF, aImplUniToDBCSTab_BIG5_7F },                  /* 0x7F */
1010cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_80 },                  /* 0x80 */
1011cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_81 },                  /* 0x81 */
1012cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_82 },                  /* 0x82 */
1013cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_83 },                  /* 0x83 */
1014cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_84 },                  /* 0x84 */
1015cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_85 },                  /* 0x85 */
1016cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_86 },                  /* 0x86 */
1017cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_87 },                  /* 0x87 */
1018cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_88 },                  /* 0x88 */
1019cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_89 },                  /* 0x89 */
1020cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8A },                  /* 0x8A */
1021cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8B },                  /* 0x8B */
1022cdf0e10cSrcweir    { 0x37, 0xFE, aImplUniToDBCSTab_BIG5_8C },                  /* 0x8C */
1023cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8D },                  /* 0x8D */
1024cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8E },                  /* 0x8E */
1025cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8F },                  /* 0x8F */
1026cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_90 },                  /* 0x90 */
1027cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_91 },                  /* 0x91 */
1028cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_92 },                  /* 0x92 */
1029cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_93 },                  /* 0x93 */
1030cdf0e10cSrcweir    { 0x00, 0x83, aImplUniToDBCSTab_BIG5_94 },                  /* 0x94 */
1031cdf0e10cSrcweir    { 0x77, 0xE5, aImplUniToDBCSTab_BIG5_95 },                  /* 0x95 */
1032cdf0e10cSrcweir    { 0x1C, 0xFF, aImplUniToDBCSTab_BIG5_96 },                  /* 0x96 */
1033cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_97 },                  /* 0x97 */
1034cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_98 },                  /* 0x98 */
1035cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_99 },                  /* 0x99 */
1036cdf0e10cSrcweir    { 0x01, 0xFE, aImplUniToDBCSTab_BIG5_9A },                  /* 0x9A */
1037cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_9B },                  /* 0x9B */
1038cdf0e10cSrcweir    { 0x05, 0xFF, aImplUniToDBCSTab_BIG5_9C },                  /* 0x9C */
1039cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9D },                  /* 0x9D */
1040cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9E },                  /* 0x9E */
1041cdf0e10cSrcweir    { 0x00, 0xA4, aImplUniToDBCSTab_BIG5_9F },                  /* 0x9F */
1042cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA0 */
1043cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA1 */
1044cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA2 */
1045cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA3 */
1046cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA4 */
1047cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA5 */
1048cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA6 */
1049cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA7 */
1050cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA8 */
1051cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA9 */
1052cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAA */
1053cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAB */
1054cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAC */
1055cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAD */
1056cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAE */
1057cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAF */
1058cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB0 */
1059cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB1 */
1060cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB2 */
1061cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB3 */
1062cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB4 */
1063cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB5 */
1064cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB6 */
1065cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB7 */
1066cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB8 */
1067cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB9 */
1068cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBA */
1069cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBB */
1070cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBC */
1071cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBD */
1072cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBE */
1073cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBF */
1074cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC0 */
1075cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC1 */
1076cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC2 */
1077cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC3 */
1078cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC4 */
1079cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC5 */
1080cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC6 */
1081cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC7 */
1082cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC8 */
1083cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC9 */
1084cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCA */
1085cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCB */
1086cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCC */
1087cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCD */
1088cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCE */
1089cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCF */
1090cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD0 */
1091cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD1 */
1092cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD2 */
1093cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD3 */
1094cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD4 */
1095cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD5 */
1096cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD6 */
1097cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD7 */
1098cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD8 */
1099cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD9 */
1100cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDA */
1101cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDB */
1102cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDC */
1103cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDD */
1104cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDE */
1105cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDF */
1106cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE0 */
1107cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE1 */
1108cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE2 */
1109cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE3 */
1110cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE4 */
1111cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE5 */
1112cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE6 */
1113cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE7 */
1114cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE8 */
1115cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE9 */
1116cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEA */
1117cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEB */
1118cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEC */
1119cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xED */
1120cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEE */
1121cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEF */
1122cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF0 */
1123cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF1 */
1124cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF2 */
1125cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF3 */
1126cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF4 */
1127cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF5 */
1128cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF6 */
1129cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF7 */
1130cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF8 */
1131cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF9 */
1132cdf0e10cSrcweir    { 0x0C, 0x0D, aImplUniToDBCSTab_BIG5_FA },                  /* 0xFA */
1133cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFB */
1134cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFC */
1135cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFD */
1136cdf0e10cSrcweir    { 0x30, 0x6B, aImplUniToDBCSTab_BIG5_FE },                  /* 0xFE */
1137cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_FF }                   /* 0xFF */
1138cdf0e10cSrcweir};
1139cdf0e10cSrcweir
1140cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
1141cdf0e10cSrcweir
1142cdf0e10cSrcweirstatic ImplDBCSConvertData const aImplMS950DBCSCvtData =
1143cdf0e10cSrcweir{
1144cdf0e10cSrcweir    aMS950UniLeadTab,
1145cdf0e10cSrcweir    aMS950DBCSHighTab,
1146cdf0e10cSrcweir    0x00, 0xFF,
1147cdf0e10cSrcweir    0x40, 0xFE,
1148cdf0e10cSrcweir    aImplMS950DBCSEUDCTab,
1149cdf0e10cSrcweir    DBCS_EUDC_MS950_COUNT
1150cdf0e10cSrcweir};
1151cdf0e10cSrcweir
1152cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
1153cdf0e10cSrcweir
1154cdf0e10cSrcweirstatic ImplTextEncodingData const aImplMS950TextEncodingData
1155cdf0e10cSrcweir    = { { &aImplMS950DBCSCvtData,
1156cdf0e10cSrcweir          ImplDBCSToUnicode,
1157cdf0e10cSrcweir          ImplUnicodeToDBCS,
1158cdf0e10cSrcweir          NULL,
1159cdf0e10cSrcweir          NULL,
1160cdf0e10cSrcweir          NULL,
1161cdf0e10cSrcweir          NULL,
1162cdf0e10cSrcweir          NULL,
1163cdf0e10cSrcweir          NULL },
1164cdf0e10cSrcweir        1,
1165cdf0e10cSrcweir        2,
1166cdf0e10cSrcweir        2,
1167cdf0e10cSrcweir        136,
1168cdf0e10cSrcweir        "euc-tw",
1169cdf0e10cSrcweir        "big5",
1170cdf0e10cSrcweir        RTL_TEXTENCODING_INFO_MULTIBYTE };
1171cdf0e10cSrcweir    /* WIN/DOS/OS2, SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding
1172cdf0e10cSrcweir       2 */
1173cdf0e10cSrcweir
1174cdf0e10cSrcweir/* ======================================================================= */
1175cdf0e10cSrcweir
1176cdf0e10cSrcweirstatic ImplDBCSToUniLeadTab const aAPPLECHINTRADUniLeadTab[256] =
1177cdf0e10cSrcweir{
1178cdf0e10cSrcweir    { 0x0000,    0,    0, NULL },                               /* 0x00 */
1179cdf0e10cSrcweir    { 0x0001,    0,    0, NULL },                               /* 0x01 */
1180cdf0e10cSrcweir    { 0x0002,    0,    0, NULL },                               /* 0x02 */
1181cdf0e10cSrcweir    { 0x0003,    0,    0, NULL },                               /* 0x03 */
1182cdf0e10cSrcweir    { 0x0004,    0,    0, NULL },                               /* 0x04 */
1183cdf0e10cSrcweir    { 0x0005,    0,    0, NULL },                               /* 0x05 */
1184cdf0e10cSrcweir    { 0x0006,    0,    0, NULL },                               /* 0x06 */
1185cdf0e10cSrcweir    { 0x0007,    0,    0, NULL },                               /* 0x07 */
1186cdf0e10cSrcweir    { 0x0008,    0,    0, NULL },                               /* 0x08 */
1187cdf0e10cSrcweir    { 0x0009,    0,    0, NULL },                               /* 0x09 */
1188cdf0e10cSrcweir    { 0x000A,    0,    0, NULL },                               /* 0x0A */
1189cdf0e10cSrcweir    { 0x000B,    0,    0, NULL },                               /* 0x0B */
1190cdf0e10cSrcweir    { 0x000C,    0,    0, NULL },                               /* 0x0C */
1191cdf0e10cSrcweir    { 0x000D,    0,    0, NULL },                               /* 0x0D */
1192cdf0e10cSrcweir    { 0x000E,    0,    0, NULL },                               /* 0x0E */
1193cdf0e10cSrcweir    { 0x000F,    0,    0, NULL },                               /* 0x0F */
1194cdf0e10cSrcweir    { 0x0010,    0,    0, NULL },                               /* 0x10 */
1195cdf0e10cSrcweir    { 0x0011,    0,    0, NULL },                               /* 0x11 */
1196cdf0e10cSrcweir    { 0x0012,    0,    0, NULL },                               /* 0x12 */
1197cdf0e10cSrcweir    { 0x0013,    0,    0, NULL },                               /* 0x13 */
1198cdf0e10cSrcweir    { 0x0014,    0,    0, NULL },                               /* 0x14 */
1199cdf0e10cSrcweir    { 0x0015,    0,    0, NULL },                               /* 0x15 */
1200cdf0e10cSrcweir    { 0x0016,    0,    0, NULL },                               /* 0x16 */
1201cdf0e10cSrcweir    { 0x0017,    0,    0, NULL },                               /* 0x17 */
1202cdf0e10cSrcweir    { 0x0018,    0,    0, NULL },                               /* 0x18 */
1203cdf0e10cSrcweir    { 0x0019,    0,    0, NULL },                               /* 0x19 */
1204cdf0e10cSrcweir    { 0x001A,    0,    0, NULL },                               /* 0x1A */
1205cdf0e10cSrcweir    { 0x001B,    0,    0, NULL },                               /* 0x1B */
1206cdf0e10cSrcweir    { 0x001C,    0,    0, NULL },                               /* 0x1C */
1207cdf0e10cSrcweir    { 0x001D,    0,    0, NULL },                               /* 0x1D */
1208cdf0e10cSrcweir    { 0x001E,    0,    0, NULL },                               /* 0x1E */
1209cdf0e10cSrcweir    { 0x001F,    0,    0, NULL },                               /* 0x1F */
1210cdf0e10cSrcweir    { 0x0020,    0,    0, NULL },                               /* 0x20 */
1211cdf0e10cSrcweir    { 0x0021,    0,    0, NULL },                               /* 0x21 */
1212cdf0e10cSrcweir    { 0x0022,    0,    0, NULL },                               /* 0x22 */
1213cdf0e10cSrcweir    { 0x0023,    0,    0, NULL },                               /* 0x23 */
1214cdf0e10cSrcweir    { 0x0024,    0,    0, NULL },                               /* 0x24 */
1215cdf0e10cSrcweir    { 0x0025,    0,    0, NULL },                               /* 0x25 */
1216cdf0e10cSrcweir    { 0x0026,    0,    0, NULL },                               /* 0x26 */
1217cdf0e10cSrcweir    { 0x0027,    0,    0, NULL },                               /* 0x27 */
1218cdf0e10cSrcweir    { 0x0028,    0,    0, NULL },                               /* 0x28 */
1219cdf0e10cSrcweir    { 0x0029,    0,    0, NULL },                               /* 0x29 */
1220cdf0e10cSrcweir    { 0x002A,    0,    0, NULL },                               /* 0x2A */
1221cdf0e10cSrcweir    { 0x002B,    0,    0, NULL },                               /* 0x2B */
1222cdf0e10cSrcweir    { 0x002C,    0,    0, NULL },                               /* 0x2C */
1223cdf0e10cSrcweir    { 0x002D,    0,    0, NULL },                               /* 0x2D */
1224cdf0e10cSrcweir    { 0x002E,    0,    0, NULL },                               /* 0x2E */
1225cdf0e10cSrcweir    { 0x002F,    0,    0, NULL },                               /* 0x2F */
1226cdf0e10cSrcweir    { 0x0030,    0,    0, NULL },                               /* 0x30 */
1227cdf0e10cSrcweir    { 0x0031,    0,    0, NULL },                               /* 0x31 */
1228cdf0e10cSrcweir    { 0x0032,    0,    0, NULL },                               /* 0x32 */
1229cdf0e10cSrcweir    { 0x0033,    0,    0, NULL },                               /* 0x33 */
1230cdf0e10cSrcweir    { 0x0034,    0,    0, NULL },                               /* 0x34 */
1231cdf0e10cSrcweir    { 0x0035,    0,    0, NULL },                               /* 0x35 */
1232cdf0e10cSrcweir    { 0x0036,    0,    0, NULL },                               /* 0x36 */
1233cdf0e10cSrcweir    { 0x0037,    0,    0, NULL },                               /* 0x37 */
1234cdf0e10cSrcweir    { 0x0038,    0,    0, NULL },                               /* 0x38 */
1235cdf0e10cSrcweir    { 0x0039,    0,    0, NULL },                               /* 0x39 */
1236cdf0e10cSrcweir    { 0x003A,    0,    0, NULL },                               /* 0x3A */
1237cdf0e10cSrcweir    { 0x003B,    0,    0, NULL },                               /* 0x3B */
1238cdf0e10cSrcweir    { 0x003C,    0,    0, NULL },                               /* 0x3C */
1239cdf0e10cSrcweir    { 0x003D,    0,    0, NULL },                               /* 0x3D */
1240cdf0e10cSrcweir    { 0x003E,    0,    0, NULL },                               /* 0x3E */
1241cdf0e10cSrcweir    { 0x003F,    0,    0, NULL },                               /* 0x3F */
1242cdf0e10cSrcweir    { 0x0040,    0,    0, NULL },                               /* 0x40 */
1243cdf0e10cSrcweir    { 0x0041,    0,    0, NULL },                               /* 0x41 */
1244cdf0e10cSrcweir    { 0x0042,    0,    0, NULL },                               /* 0x42 */
1245cdf0e10cSrcweir    { 0x0043,    0,    0, NULL },                               /* 0x43 */
1246cdf0e10cSrcweir    { 0x0044,    0,    0, NULL },                               /* 0x44 */
1247cdf0e10cSrcweir    { 0x0045,    0,    0, NULL },                               /* 0x45 */
1248cdf0e10cSrcweir    { 0x0046,    0,    0, NULL },                               /* 0x46 */
1249cdf0e10cSrcweir    { 0x0047,    0,    0, NULL },                               /* 0x47 */
1250cdf0e10cSrcweir    { 0x0048,    0,    0, NULL },                               /* 0x48 */
1251cdf0e10cSrcweir    { 0x0049,    0,    0, NULL },                               /* 0x49 */
1252cdf0e10cSrcweir    { 0x004A,    0,    0, NULL },                               /* 0x4A */
1253cdf0e10cSrcweir    { 0x004B,    0,    0, NULL },                               /* 0x4B */
1254cdf0e10cSrcweir    { 0x004C,    0,    0, NULL },                               /* 0x4C */
1255cdf0e10cSrcweir    { 0x004D,    0,    0, NULL },                               /* 0x4D */
1256cdf0e10cSrcweir    { 0x004E,    0,    0, NULL },                               /* 0x4E */
1257cdf0e10cSrcweir    { 0x004F,    0,    0, NULL },                               /* 0x4F */
1258cdf0e10cSrcweir    { 0x0050,    0,    0, NULL },                               /* 0x50 */
1259cdf0e10cSrcweir    { 0x0051,    0,    0, NULL },                               /* 0x51 */
1260cdf0e10cSrcweir    { 0x0052,    0,    0, NULL },                               /* 0x52 */
1261cdf0e10cSrcweir    { 0x0053,    0,    0, NULL },                               /* 0x53 */
1262cdf0e10cSrcweir    { 0x0054,    0,    0, NULL },                               /* 0x54 */
1263cdf0e10cSrcweir    { 0x0055,    0,    0, NULL },                               /* 0x55 */
1264cdf0e10cSrcweir    { 0x0056,    0,    0, NULL },                               /* 0x56 */
1265cdf0e10cSrcweir    { 0x0057,    0,    0, NULL },                               /* 0x57 */
1266cdf0e10cSrcweir    { 0x0058,    0,    0, NULL },                               /* 0x58 */
1267cdf0e10cSrcweir    { 0x0059,    0,    0, NULL },                               /* 0x59 */
1268cdf0e10cSrcweir    { 0x005A,    0,    0, NULL },                               /* 0x5A */
1269cdf0e10cSrcweir    { 0x005B,    0,    0, NULL },                               /* 0x5B */
1270cdf0e10cSrcweir    { 0x005C,    0,    0, NULL },                               /* 0x5C */
1271cdf0e10cSrcweir    { 0x005D,    0,    0, NULL },                               /* 0x5D */
1272cdf0e10cSrcweir    { 0x005E,    0,    0, NULL },                               /* 0x5E */
1273cdf0e10cSrcweir    { 0x005F,    0,    0, NULL },                               /* 0x5F */
1274cdf0e10cSrcweir    { 0x0060,    0,    0, NULL },                               /* 0x60 */
1275cdf0e10cSrcweir    { 0x0061,    0,    0, NULL },                               /* 0x61 */
1276cdf0e10cSrcweir    { 0x0062,    0,    0, NULL },                               /* 0x62 */
1277cdf0e10cSrcweir    { 0x0063,    0,    0, NULL },                               /* 0x63 */
1278cdf0e10cSrcweir    { 0x0064,    0,    0, NULL },                               /* 0x64 */
1279cdf0e10cSrcweir    { 0x0065,    0,    0, NULL },                               /* 0x65 */
1280cdf0e10cSrcweir    { 0x0066,    0,    0, NULL },                               /* 0x66 */
1281cdf0e10cSrcweir    { 0x0067,    0,    0, NULL },                               /* 0x67 */
1282cdf0e10cSrcweir    { 0x0068,    0,    0, NULL },                               /* 0x68 */
1283cdf0e10cSrcweir    { 0x0069,    0,    0, NULL },                               /* 0x69 */
1284cdf0e10cSrcweir    { 0x006A,    0,    0, NULL },                               /* 0x6A */
1285cdf0e10cSrcweir    { 0x006B,    0,    0, NULL },                               /* 0x6B */
1286cdf0e10cSrcweir    { 0x006C,    0,    0, NULL },                               /* 0x6C */
1287cdf0e10cSrcweir    { 0x006D,    0,    0, NULL },                               /* 0x6D */
1288cdf0e10cSrcweir    { 0x006E,    0,    0, NULL },                               /* 0x6E */
1289cdf0e10cSrcweir    { 0x006F,    0,    0, NULL },                               /* 0x6F */
1290cdf0e10cSrcweir    { 0x0070,    0,    0, NULL },                               /* 0x70 */
1291cdf0e10cSrcweir    { 0x0071,    0,    0, NULL },                               /* 0x71 */
1292cdf0e10cSrcweir    { 0x0072,    0,    0, NULL },                               /* 0x72 */
1293cdf0e10cSrcweir    { 0x0073,    0,    0, NULL },                               /* 0x73 */
1294cdf0e10cSrcweir    { 0x0074,    0,    0, NULL },                               /* 0x74 */
1295cdf0e10cSrcweir    { 0x0075,    0,    0, NULL },                               /* 0x75 */
1296cdf0e10cSrcweir    { 0x0076,    0,    0, NULL },                               /* 0x76 */
1297cdf0e10cSrcweir    { 0x0077,    0,    0, NULL },                               /* 0x77 */
1298cdf0e10cSrcweir    { 0x0078,    0,    0, NULL },                               /* 0x78 */
1299cdf0e10cSrcweir    { 0x0079,    0,    0, NULL },                               /* 0x79 */
1300cdf0e10cSrcweir    { 0x007A,    0,    0, NULL },                               /* 0x7A */
1301cdf0e10cSrcweir    { 0x007B,    0,    0, NULL },                               /* 0x7B */
1302cdf0e10cSrcweir    { 0x007C,    0,    0, NULL },                               /* 0x7C */
1303cdf0e10cSrcweir    { 0x007D,    0,    0, NULL },                               /* 0x7D */
1304cdf0e10cSrcweir    { 0x007E,    0,    0, NULL },                               /* 0x7E */
1305cdf0e10cSrcweir    { 0x007F,    0,    0, NULL },                               /* 0x7F */
1306cdf0e10cSrcweir    {      0,    1,    0, NULL },                               /* 0x80 */
1307cdf0e10cSrcweir    { 0xF880,    0,    0, NULL },                               /* 0x81 */
1308cdf0e10cSrcweir    { 0xF881,    0,    0, NULL },                               /* 0x82 */
1309cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x83 */ /* We convert this as double byte */
1310cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x84 */ /* We convert this as double byte */
1311cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x85 */ /* We convert this as double byte */
1312cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x86 */ /* We convert this as double byte */
1313cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x87 */ /* We convert this as double byte */
1314cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x88 */ /* We convert this as double byte */
1315cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x89 */ /* We convert this as double byte */
1316cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8A */ /* We convert this as double byte */
1317cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8B */ /* We convert this as double byte */
1318cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8C */ /* We convert this as double byte */
1319cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8D */ /* We convert this as double byte */
1320cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8E */ /* We convert this as double byte */
1321cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x8F */ /* We convert this as double byte */
1322cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x90 */ /* We convert this as double byte */
1323cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x91 */ /* We convert this as double byte */
1324cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x92 */ /* We convert this as double byte */
1325cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x93 */ /* We convert this as double byte */
1326cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x94 */ /* We convert this as double byte */
1327cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x95 */ /* We convert this as double byte */
1328cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x96 */ /* We convert this as double byte */
1329cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x97 */ /* We convert this as double byte */
1330cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x98 */ /* We convert this as double byte */
1331cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x99 */ /* We convert this as double byte */
1332cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9A */ /* We convert this as double byte */
1333cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9B */ /* We convert this as double byte */
1334cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9C */ /* We convert this as double byte */
1335cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9D */ /* We convert this as double byte */
1336cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9E */ /* We convert this as double byte */
1337cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0x9F */ /* We convert this as double byte */
1338cdf0e10cSrcweir    { 0x00A0,    0,    0, NULL },                               /* 0xA0 */
1339cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A1 },          /* 0xA1 */
1340cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A2 },          /* 0xA2 */
1341cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A3 },          /* 0xA3 */
1342cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A4 },          /* 0xA4 */
1343cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A5 },          /* 0xA5 */
1344cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A6 },          /* 0xA6 */
1345cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A7 },          /* 0xA7 */
1346cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A8 },          /* 0xA8 */
1347cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_A9 },          /* 0xA9 */
1348cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AA },          /* 0xAA */
1349cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AB },          /* 0xAB */
1350cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AC },          /* 0xAC */
1351cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AD },          /* 0xAD */
1352cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AE },          /* 0xAE */
1353cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_AF },          /* 0xAF */
1354cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B0 },          /* 0xB0 */
1355cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B1 },          /* 0xB1 */
1356cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B2 },          /* 0xB2 */
1357cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B3 },          /* 0xB3 */
1358cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B4 },          /* 0xB4 */
1359cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B5 },          /* 0xB5 */
1360cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B6 },          /* 0xB6 */
1361cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B7 },          /* 0xB7 */
1362cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B8 },          /* 0xB8 */
1363cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_B9 },          /* 0xB9 */
1364cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BA },          /* 0xBA */
1365cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BB },          /* 0xBB */
1366cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BC },          /* 0xBC */
1367cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BD },          /* 0xBD */
1368cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BE },          /* 0xBE */
1369cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_BF },          /* 0xBF */
1370cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C0 },          /* 0xC0 */
1371cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C1 },          /* 0xC1 */
1372cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C2 },          /* 0xC2 */
1373cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C3 },          /* 0xC3 */
1374cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C4 },          /* 0xC4 */
1375cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C5 },          /* 0xC5 */
1376cdf0e10cSrcweir    {      0, 0x40, 0x7E, aImplDBCSToUniTab_BIG5_C6 },          /* 0xC6 */
1377cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xC7 */ /* We convert this as double byte */
1378cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xC8 */ /* We convert this as double byte */
1379cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_C9 },          /* 0xC9 */
1380cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CA },          /* 0xCA */
1381cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CB },          /* 0xCB */
1382cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CC },          /* 0xCC */
1383cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CD },          /* 0xCD */
1384cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CE },          /* 0xCE */
1385cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_CF },          /* 0xCF */
1386cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D0 },          /* 0xD0 */
1387cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D1 },          /* 0xD1 */
1388cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D2 },          /* 0xD2 */
1389cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D3 },          /* 0xD3 */
1390cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D4 },          /* 0xD4 */
1391cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D5 },          /* 0xD5 */
1392cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D6 },          /* 0xD6 */
1393cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D7 },          /* 0xD7 */
1394cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D8 },          /* 0xD8 */
1395cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_D9 },          /* 0xD9 */
1396cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DA },          /* 0xDA */
1397cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DB },          /* 0xDB */
1398cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DC },          /* 0xDC */
1399cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DD },          /* 0xDD */
1400cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DE },          /* 0xDE */
1401cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_DF },          /* 0xDF */
1402cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E0 },          /* 0xE0 */
1403cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E1 },          /* 0xE1 */
1404cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E2 },          /* 0xE2 */
1405cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E3 },          /* 0xE3 */
1406cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E4 },          /* 0xE4 */
1407cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E5 },          /* 0xE5 */
1408cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E6 },          /* 0xE6 */
1409cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E7 },          /* 0xE7 */
1410cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E8 },          /* 0xE8 */
1411cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_E9 },          /* 0xE9 */
1412cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EA },          /* 0xEA */
1413cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EB },          /* 0xEB */
1414cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EC },          /* 0xEC */
1415cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_ED },          /* 0xED */
1416cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EE },          /* 0xEE */
1417cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_EF },          /* 0xEF */
1418cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F0 },          /* 0xF0 */
1419cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F1 },          /* 0xF1 */
1420cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F2 },          /* 0xF2 */
1421cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F3 },          /* 0xF3 */
1422cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F4 },          /* 0xF4 */
1423cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F5 },          /* 0xF5 */
1424cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F6 },          /* 0xF6 */
1425cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F7 },          /* 0xF7 */
1426cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F8 },          /* 0xF8 */
1427cdf0e10cSrcweir    {      0, 0x40, 0xFE, aImplDBCSToUniTab_BIG5_F9 },          /* 0xF9 */
1428cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFA */ /* We convert this as double byte */
1429cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFB */ /* We convert this as double byte */
1430cdf0e10cSrcweir    {      0,    1,    0, aImplDoubleByteIdentifierTab },       /* 0xFC */ /* We convert this as double byte */
1431cdf0e10cSrcweir    { 0x00A9,    0,    0, NULL },                               /* 0xFD */
1432cdf0e10cSrcweir    { 0x2122,    0,    0, NULL },                               /* 0xFE */
1433cdf0e10cSrcweir    { 0x2026,    0,    0, NULL }                                /* 0xFF */
1434cdf0e10cSrcweir};
1435cdf0e10cSrcweir
1436cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
1437cdf0e10cSrcweir
1438cdf0e10cSrcweirstatic ImplUniToDBCSHighTab const aAPPLECHINTRADDBCSHighTab[256] =
1439cdf0e10cSrcweir{
1440cdf0e10cSrcweir    { 0x00, 0xF7, aImplUniToDBCSTab_APPLECHINTRAD_00 },           /* 0x00 */
1441cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x01 */
1442cdf0e10cSrcweir    { 0xC7, 0xD9, aImplUniToDBCSTab_BIG5_02 },                  /* 0x02 */
1443cdf0e10cSrcweir    { 0x91, 0xC9, aImplUniToDBCSTab_BIG5_03 },                  /* 0x03 */
1444cdf0e10cSrcweir    { 0x01, 0x51, aImplUniToDBCSTab_BIG5_04 },                  /* 0x04 */
1445cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x05 */
1446cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x06 */
1447cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x07 */
1448cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x08 */
1449cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x09 */
1450cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0A */
1451cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0B */
1452cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0C */
1453cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0D */
1454cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0E */
1455cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x0F */
1456cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x10 */
1457cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x11 */
1458cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x12 */
1459cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x13 */
1460cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x14 */
1461cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x15 */
1462cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x16 */
1463cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x17 */
1464cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x18 */
1465cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x19 */
1466cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1A */
1467cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1B */
1468cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1C */
1469cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1D */
1470cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1E */
1471cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x1F */
1472cdf0e10cSrcweir    { 0x13, 0xAC, aImplUniToDBCSTab_BIG5_20 },                  /* 0x20 */
1473cdf0e10cSrcweir    { 0x03, 0x99, aImplUniToDBCSTab_APPLECHINTRAD_21 },         /* 0x21 */
1474cdf0e10cSrcweir    { 0x15, 0xEF, aImplUniToDBCSTab_BIG5_22 },                  /* 0x22 */
1475cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x23 */
1476cdf0e10cSrcweir    { 0x60, 0x7D, aImplUniToDBCSTab_BIG5_24 },                  /* 0x24 */
1477cdf0e10cSrcweir    { 0x00, 0xE5, aImplUniToDBCSTab_BIG5_25 },                  /* 0x25 */
1478cdf0e10cSrcweir    { 0x05, 0x42, aImplUniToDBCSTab_BIG5_26 },                  /* 0x25 */
1479cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x27 */
1480cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x28 */
1481cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x29 */
1482cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2A */
1483cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2B */
1484cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2C */
1485cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2D */
1486cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2E */
1487cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x2F */
1488cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_30 },                  /* 0x30 */
1489cdf0e10cSrcweir    { 0x05, 0x29, aImplUniToDBCSTab_BIG5_31 },                  /* 0x31 */
1490cdf0e10cSrcweir    { 0xA3, 0xA3, aImplUniToDBCSTab_BIG5_32 },                  /* 0x32 */
1491cdf0e10cSrcweir    { 0x8E, 0xD5, aImplUniToDBCSTab_BIG5_33 },                  /* 0x33 */
1492cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x34 */
1493cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x35 */
1494cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x36 */
1495cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x37 */
1496cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x38 */
1497cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x39 */
1498cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3A */
1499cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3B */
1500cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3C */
1501cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3D */
1502cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3E */
1503cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x3F */
1504cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x40 */
1505cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x41 */
1506cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x42 */
1507cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x43 */
1508cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x44 */
1509cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x45 */
1510cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x46 */
1511cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x47 */
1512cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x48 */
1513cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x49 */
1514cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4A */
1515cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4B */
1516cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4C */
1517cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0x4D */
1518cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_4E },                  /* 0x4E */
1519cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_4F },                  /* 0x4F */
1520cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_50 },                  /* 0x50 */
1521cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_51 },                  /* 0x51 */
1522cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_52 },                  /* 0x52 */
1523cdf0e10cSrcweir    { 0x05, 0xFC, aImplUniToDBCSTab_BIG5_53 },                  /* 0x53 */
1524cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_54 },                  /* 0x54 */
1525cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_55 },                  /* 0x55 */
1526cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_56 },                  /* 0x56 */
1527cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_57 },                  /* 0x57 */
1528cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_58 },                  /* 0x58 */
1529cdf0e10cSrcweir    { 0x03, 0xFF, aImplUniToDBCSTab_BIG5_59 },                  /* 0x59 */
1530cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5A },                  /* 0x5A */
1531cdf0e10cSrcweir    { 0x01, 0xFA, aImplUniToDBCSTab_BIG5_5B },                  /* 0x5B */
1532cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5C },                  /* 0x5C */
1533cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_5D },                  /* 0x5D */
1534cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_5E },                  /* 0x5E */
1535cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_5F },                  /* 0x5F */
1536cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_60 },                  /* 0x60 */
1537cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_61 },                  /* 0x61 */
1538cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_62 },                  /* 0x62 */
1539cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_63 },                  /* 0x63 */
1540cdf0e10cSrcweir    { 0x06, 0xFF, aImplUniToDBCSTab_BIG5_64 },                  /* 0x64 */
1541cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_65 },                  /* 0x65 */
1542cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_66 },                  /* 0x66 */
1543cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_67 },                  /* 0x67 */
1544cdf0e10cSrcweir    { 0x12, 0xFD, aImplUniToDBCSTab_BIG5_68 },                  /* 0x68 */
1545cdf0e10cSrcweir    { 0x04, 0xFF, aImplUniToDBCSTab_BIG5_69 },                  /* 0x69 */
1546cdf0e10cSrcweir    { 0x00, 0xFC, aImplUniToDBCSTab_BIG5_6A },                  /* 0x6A */
1547cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6B },                  /* 0x6B */
1548cdf0e10cSrcweir    { 0x00, 0xF9, aImplUniToDBCSTab_BIG5_6C },                  /* 0x6C */
1549cdf0e10cSrcweir    { 0x00, 0xFD, aImplUniToDBCSTab_BIG5_6D },                  /* 0x6D */
1550cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6E },                  /* 0x6E */
1551cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_6F },                  /* 0x6F */
1552cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_70 },                  /* 0x70 */
1553cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_71 },                  /* 0x71 */
1554cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_72 },                  /* 0x72 */
1555cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_73 },                  /* 0x73 */
1556cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_74 },                  /* 0x74 */
1557cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_75 },                  /* 0x75 */
1558cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_76 },                  /* 0x76 */
1559cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_77 },                  /* 0x77 */
1560cdf0e10cSrcweir    { 0x02, 0xFF, aImplUniToDBCSTab_BIG5_78 },                  /* 0x78 */
1561cdf0e10cSrcweir    { 0x01, 0xFB, aImplUniToDBCSTab_BIG5_79 },                  /* 0x79 */
1562cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7A },                  /* 0x7A */
1563cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_7B },                  /* 0x7B */
1564cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_7C },                  /* 0x7C */
1565cdf0e10cSrcweir    { 0x00, 0xFB, aImplUniToDBCSTab_BIG5_7D },                  /* 0x7D */
1566cdf0e10cSrcweir    { 0x03, 0x9C, aImplUniToDBCSTab_BIG5_7E },                  /* 0x7E */
1567cdf0e10cSrcweir    { 0x36, 0xFF, aImplUniToDBCSTab_BIG5_7F },                  /* 0x7F */
1568cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_80 },                  /* 0x80 */
1569cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_81 },                  /* 0x81 */
1570cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_82 },                  /* 0x82 */
1571cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_83 },                  /* 0x83 */
1572cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_84 },                  /* 0x84 */
1573cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_85 },                  /* 0x85 */
1574cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_86 },                  /* 0x86 */
1575cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_87 },                  /* 0x87 */
1576cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_88 },                  /* 0x88 */
1577cdf0e10cSrcweir    { 0x01, 0xFF, aImplUniToDBCSTab_BIG5_89 },                  /* 0x89 */
1578cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8A },                  /* 0x8A */
1579cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8B },                  /* 0x8B */
1580cdf0e10cSrcweir    { 0x37, 0xFE, aImplUniToDBCSTab_BIG5_8C },                  /* 0x8C */
1581cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8D },                  /* 0x8D */
1582cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8E },                  /* 0x8E */
1583cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_8F },                  /* 0x8F */
1584cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_90 },                  /* 0x90 */
1585cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_91 },                  /* 0x91 */
1586cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_92 },                  /* 0x92 */
1587cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_93 },                  /* 0x93 */
1588cdf0e10cSrcweir    { 0x00, 0x83, aImplUniToDBCSTab_BIG5_94 },                  /* 0x94 */
1589cdf0e10cSrcweir    { 0x77, 0xE5, aImplUniToDBCSTab_BIG5_95 },                  /* 0x95 */
1590cdf0e10cSrcweir    { 0x1C, 0xFF, aImplUniToDBCSTab_BIG5_96 },                  /* 0x96 */
1591cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_97 },                  /* 0x97 */
1592cdf0e10cSrcweir    { 0x00, 0xFE, aImplUniToDBCSTab_BIG5_98 },                  /* 0x98 */
1593cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_99 },                  /* 0x99 */
1594cdf0e10cSrcweir    { 0x01, 0xFE, aImplUniToDBCSTab_BIG5_9A },                  /* 0x9A */
1595cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_9B },                  /* 0x9B */
1596cdf0e10cSrcweir    { 0x05, 0xFF, aImplUniToDBCSTab_BIG5_9C },                  /* 0x9C */
1597cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9D },                  /* 0x9D */
1598cdf0e10cSrcweir    { 0x00, 0xFF, aImplUniToDBCSTab_BIG5_9E },                  /* 0x9E */
1599cdf0e10cSrcweir    { 0x00, 0xA4, aImplUniToDBCSTab_BIG5_9F },                  /* 0x9F */
1600cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA0 */
1601cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA1 */
1602cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA2 */
1603cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA3 */
1604cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA4 */
1605cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA5 */
1606cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA6 */
1607cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA7 */
1608cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA8 */
1609cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xA9 */
1610cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAA */
1611cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAB */
1612cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAC */
1613cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAD */
1614cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAE */
1615cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xAF */
1616cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB0 */
1617cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB1 */
1618cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB2 */
1619cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB3 */
1620cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB4 */
1621cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB5 */
1622cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB6 */
1623cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB7 */
1624cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB8 */
1625cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xB9 */
1626cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBA */
1627cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBB */
1628cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBC */
1629cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBD */
1630cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBE */
1631cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xBF */
1632cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC0 */
1633cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC1 */
1634cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC2 */
1635cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC3 */
1636cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC4 */
1637cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC5 */
1638cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC6 */
1639cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC7 */
1640cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC8 */
1641cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xC9 */
1642cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCA */
1643cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCB */
1644cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCC */
1645cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCD */
1646cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCE */
1647cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xCF */
1648cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD0 */
1649cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD1 */
1650cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD2 */
1651cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD3 */
1652cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD4 */
1653cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD5 */
1654cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD6 */
1655cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD7 */
1656cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD8 */
1657cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xD9 */
1658cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDA */
1659cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDB */
1660cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDC */
1661cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDD */
1662cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDE */
1663cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xDF */
1664cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE0 */
1665cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE1 */
1666cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE2 */
1667cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE3 */
1668cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE4 */
1669cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE5 */
1670cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE6 */
1671cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE7 */
1672cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE8 */
1673cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xE9 */
1674cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEA */
1675cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEB */
1676cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEC */
1677cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xED */
1678cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEE */
1679cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xEF */
1680cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF0 */
1681cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF1 */
1682cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF2 */
1683cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF3 */
1684cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF4 */
1685cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF5 */
1686cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF6 */
1687cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF7 */
1688cdf0e10cSrcweir    { 0x80, 0x81, aImplUniToDBCSTab_APPLECHINTRAD_F8 },         /* 0xF8 */
1689cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xF9 */
1690cdf0e10cSrcweir    { 0x0C, 0x0D, aImplUniToDBCSTab_BIG5_FA },                  /* 0xFA */
1691cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFB */
1692cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFC */
1693cdf0e10cSrcweir    {    1,    0, NULL },                                       /* 0xFD */
1694cdf0e10cSrcweir    { 0x30, 0x6B, aImplUniToDBCSTab_BIG5_FE },                  /* 0xFE */
1695cdf0e10cSrcweir    { 0x01, 0xFD, aImplUniToDBCSTab_BIG5_FF }                   /* 0xFF */
1696cdf0e10cSrcweir};
1697cdf0e10cSrcweir
1698cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
1699cdf0e10cSrcweir
1700cdf0e10cSrcweirstatic ImplDBCSConvertData const aImplAPPLECHINTRADDBCSCvtData =
1701cdf0e10cSrcweir{
1702cdf0e10cSrcweir    aAPPLECHINTRADUniLeadTab,
1703cdf0e10cSrcweir    aAPPLECHINTRADDBCSHighTab,
1704cdf0e10cSrcweir    0x00, 0xFF,
1705cdf0e10cSrcweir    0x40, 0xFE,
1706cdf0e10cSrcweir    NULL,
1707cdf0e10cSrcweir    0
1708cdf0e10cSrcweir};
1709cdf0e10cSrcweir
1710cdf0e10cSrcweir/* ----------------------------------------------------------------------- */
1711cdf0e10cSrcweir
1712cdf0e10cSrcweirstatic ImplTextEncodingData const aImplAPPLECHINTRADTextEncodingData
1713cdf0e10cSrcweir    = { { &aImplAPPLECHINTRADDBCSCvtData,
1714cdf0e10cSrcweir          ImplDBCSToUnicode,
1715cdf0e10cSrcweir          ImplUnicodeToDBCS,
1716cdf0e10cSrcweir          NULL,
1717cdf0e10cSrcweir          NULL,
1718cdf0e10cSrcweir          NULL,
1719cdf0e10cSrcweir          NULL,
1720cdf0e10cSrcweir          NULL,
1721cdf0e10cSrcweir          NULL },
1722cdf0e10cSrcweir        1,
1723cdf0e10cSrcweir        2,
1724cdf0e10cSrcweir        2,
1725cdf0e10cSrcweir        136,
1726cdf0e10cSrcweir        "euc-tw",
1727cdf0e10cSrcweir        "big5",
1728cdf0e10cSrcweir        RTL_TEXTENCODING_INFO_MULTIBYTE };
1729cdf0e10cSrcweir    /* MAC, SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding 2 */
1730