c_28596.c 18.6 KB
Newer Older
1
/* code page 28596 (ISO 8859-6 Arabic) */
2
/* generated from https://download.microsoft.com/download/C/F/7/CF713A5E-9FBC-4FD6-9246-275F65C0E498/Windows Supported Code Page Data Files.zip:CodpageFiles/28596.txt */
3 4 5 6
/* DO NOT EDIT!! */

#include "wine/unicode.h"

7
static const WCHAR cp2uni[256] =
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{
    0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
    0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f,
    0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017,
    0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f,
    0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,
    0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f,
    0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
    0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f,
    0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047,
    0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f,
    0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057,
    0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f,
    0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067,
    0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f,
    0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077,
    0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f,
    0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087,
    0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f,
    0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097,
    0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f,
29 30 31 32 33
    0x00a0, 0xf7c8, 0xf7c9, 0xf7ca, 0x00a4, 0xf7cb, 0xf7cc, 0xf7cd,
    0xf7ce, 0xf7cf, 0xf7d0, 0xf7d1, 0x060c, 0x00ad, 0xf7d2, 0xf7d3,
    0xf7d4, 0xf7d5, 0xf7d6, 0xf7d7, 0xf7d8, 0xf7d9, 0xf7da, 0xf7db,
    0xf7dc, 0xf7dd, 0xf7de, 0x061b, 0xf7df, 0xf7e0, 0xf7e1, 0x061f,
    0xf7e2, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627,
34 35
    0x0628, 0x0629, 0x062a, 0x062b, 0x062c, 0x062d, 0x062e, 0x062f,
    0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637,
36
    0x0638, 0x0639, 0x063a, 0xf7e3, 0xf7e4, 0xf7e5, 0xf7e6, 0xf7e7,
37 38
    0x0640, 0x0641, 0x0642, 0x0643, 0x0644, 0x0645, 0x0646, 0x0647,
    0x0648, 0x0649, 0x064a, 0x064b, 0x064c, 0x064d, 0x064e, 0x064f,
39 40
    0x0650, 0x0651, 0x0652, 0xf7e8, 0xf7e9, 0xf7ea, 0xf7eb, 0xf7ec,
    0xf7ed, 0xf7ee, 0xf7ef, 0xf7f0, 0xf7f1, 0xf7f2, 0xf7f3, 0xf7f4
41 42
};

43
static const unsigned char uni2cp_low[] =
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
{
    /* 0x0000 .. 0x00ff */
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
    0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
    0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
    0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
    0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
    0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
    0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
    0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
    0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
    0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
    0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
    0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
    0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
    0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
    0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
    0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
    0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
    0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
    0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
    0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
66 67 68
    0xa0, 0x21, 0x63, 0x3f, 0xa4, 0x59, 0x7c, 0x3f,
    0x3f, 0x43, 0x61, 0x3c, 0x3f, 0xad, 0x52, 0x3f,
    0x3f, 0x3f, 0x32, 0x33, 0x3f, 0x3f, 0x3f, 0x2e,
69
    0x2c, 0x31, 0x6f, 0x3e, 0x3f, 0x3f, 0x3f, 0x3f,
70 71
    0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x43,
    0x45, 0x45, 0x45, 0x45, 0x49, 0x49, 0x49, 0x49,
72
    0x44, 0x4e, 0x4f, 0x4f, 0x4f, 0x4f, 0x4f, 0x3f,
73
    0x4f, 0x55, 0x55, 0x55, 0x55, 0x59, 0x3f, 0x3f,
74 75
    0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x63,
    0x65, 0x65, 0x65, 0x65, 0x69, 0x69, 0x69, 0x69,
76
    0x3f, 0x6e, 0x6f, 0x6f, 0x6f, 0x6f, 0x6f, 0x3f,
77
    0x6f, 0x75, 0x75, 0x75, 0x75, 0x79, 0x3f, 0x79,
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
    /* 0x0100 .. 0x01ff */
    0x41, 0x61, 0x41, 0x61, 0x41, 0x61, 0x43, 0x63,
    0x43, 0x63, 0x43, 0x63, 0x43, 0x63, 0x44, 0x64,
    0x44, 0x64, 0x45, 0x65, 0x45, 0x65, 0x45, 0x65,
    0x45, 0x65, 0x45, 0x65, 0x47, 0x67, 0x47, 0x67,
    0x47, 0x67, 0x47, 0x67, 0x48, 0x68, 0x48, 0x68,
    0x49, 0x69, 0x49, 0x69, 0x49, 0x69, 0x49, 0x69,
    0x49, 0x69, 0x3f, 0x3f, 0x4a, 0x6a, 0x4b, 0x6b,
    0x3f, 0x4c, 0x6c, 0x4c, 0x6c, 0x4c, 0x6c, 0x3f,
    0x3f, 0x4c, 0x6c, 0x4e, 0x6e, 0x4e, 0x6e, 0x4e,
    0x6e, 0x3f, 0x3f, 0x3f, 0x4f, 0x6f, 0x4f, 0x6f,
    0x4f, 0x6f, 0x4f, 0x6f, 0x52, 0x72, 0x52, 0x72,
    0x52, 0x72, 0x53, 0x73, 0x53, 0x73, 0x53, 0x73,
    0x53, 0x73, 0x54, 0x74, 0x54, 0x74, 0x54, 0x74,
    0x55, 0x75, 0x55, 0x75, 0x55, 0x75, 0x55, 0x75,
    0x55, 0x75, 0x55, 0x75, 0x57, 0x77, 0x59, 0x79,
94
    0x59, 0x5a, 0x7a, 0x5a, 0x7a, 0x5a, 0x7a, 0x3f,
95 96
    0x62, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x44, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
97
    0x3f, 0x46, 0x66, 0x3f, 0x3f, 0x3f, 0x3f, 0x49,
98 99 100 101 102
    0x3f, 0x3f, 0x6c, 0x3f, 0x3f, 0x3f, 0x3f, 0x4f,
    0x4f, 0x6f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x74, 0x3f, 0x3f, 0x54, 0x55,
    0x75, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x7a, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
103
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
104 105 106
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x41, 0x61, 0x49,
    0x69, 0x4f, 0x6f, 0x55, 0x75, 0x55, 0x75, 0x55,
    0x75, 0x55, 0x75, 0x55, 0x75, 0x3f, 0x41, 0x61,
107
    0x3f, 0x3f, 0x3f, 0x3f, 0x47, 0x67, 0x47, 0x67,
108
    0x4b, 0x6b, 0x4f, 0x6f, 0x4f, 0x6f, 0x3f, 0x3f,
109
    0x6a, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
110
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
111
    /* 0x020f .. 0x02ff */
112 113 114 115 116 117 118 119 120 121
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x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, 0x3f, 0x5e, 0x3f, 0x5e,
    0x3f, 0x27, 0x3f, 0x3f, 0x60, 0x3f, 0x5f, 0x3f,
136
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
137
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x7e, 0x3f, 0x3f,
138 139 140 141
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
142 143 144 145
    0x3f,
    /* 0x0300 .. 0x03ff */
    0x60, 0x3f, 0x5e, 0x7e, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x22, 0x3f,
146 147 148 149
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
150
    0x3f, 0x5f, 0x5f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3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 181 182 183 184 185
    /* 0x060c .. 0x06ff */
    0xac, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0xbb,
    0x3f, 0x3f, 0x3f, 0xbf, 0x3f, 0xc1, 0xc2, 0xc3,
    0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb,
    0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3,
    0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0xe0, 0xe1, 0xe2, 0xe3,
    0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb,
    0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2, 0x3f,
186 187 188 189 190 191 192 193 194 195 196 197 198
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
199 200 201 202 203 204 205 206
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
207
    0x3f, 0x3f, 0x3f, 0x3f,
208
    /* 0x2000 .. 0x20ff */
209
    0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3f,
210
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
211 212 213
    0x2d, 0x2d, 0x3f, 0x2d, 0x2d, 0x3f, 0x3f, 0x3f,
    0x27, 0x27, 0x2c, 0x3f, 0x22, 0x22, 0x22, 0x3f,
    0x3f, 0x3f, 0x2e, 0x3f, 0x3f, 0x3f, 0x2e, 0x3f,
214
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
215
    0x3f, 0x3f, 0x27, 0x3f, 0x3f, 0x60, 0x3f, 0x3f,
216
    0x3f, 0x3c, 0x3e, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3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3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
241 242
    /* 0x2122 .. 0x21ff */
    0x54, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
269 270 271 272 273 274 275 276
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    /* 0xf7c8 .. 0xf7ff */
    0xa1, 0xa2, 0xa3, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9,
    0xaa, 0xab, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3,
    0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbc,
    0xbd, 0xbe, 0xc0, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
    0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa,
    0xfb, 0xfc, 0xfd, 0xfe, 0xff, 0x3f, 0x3f, 0x3f,
277
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
278 279 280 281 282 283 284 285 286 287 288 289 290
    /* 0xff01 .. 0xffff */
    0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
    0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30,
    0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38,
    0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40,
    0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48,
    0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50,
    0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58,
    0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60,
    0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68,
    0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70,
    0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78,
    0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x3f, 0x3f,
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f,
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x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323
    0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f
324 325 326 327
};

static const unsigned short uni2cp_high[256] =
{
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
    0x0000, 0x0100, 0x01f1, 0x02f1, 0x0759, 0x0759, 0x03e5, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x04e5, 0x05c3, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x05fb,
    0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x0759, 0x06fa
360 361
};

362
const struct sbcs_table DECLSPEC_HIDDEN cptable_28596 =
363
{
364
    { 28596, 1, 0x003f, 0x003f, "ISO 8859-6 Arabic" },
365
    cp2uni,
366
    cp2uni,
367 368 369
    uni2cp_low,
    uni2cp_high
};