You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/dosvga/cp437.h

185 lines
9.2 KiB
C

static const unsigned short cp437_to_unicode[256] = {
0,
0x263a, /* 1 smiling face */
0x263b, /* 2 smiling face inverted */
0x2665, /* 3 heart */
0x2666, /* 4 diamond */
0x2663, /* 5 club */
0x2660, /* 6 spade */
0x2024, /* 7 small bullet */
0x25d8, /* 8 inverted bullet */
0x25bc, /* 9 hollow bullet */
0x25d9, /* 10 inverted hollow bullet */
0x2642, /* 11 male/Mars symbol */
0x2640, /* 12 female/Venus symbol */
0x266a, /* 13 eighth note */
0x266c, /* 14 two sixteenth notes */
0x263c, /* 15 splat */
0x25b6, /* 16 right-pointing triangle */
0x25c0, /* 17 left-pointing triangle */
0x2195, /* 18 double up/down arrow */
0x203c, /* 19 double exclamation !! */
0x00b6, /* 20 pilcrow */
0xa7, /* 21 */
0x2582, /* 22 lower 1/3 block */
0x280d, /* 23 double up/down arrow */
0x2191, /* 24 up arrow */
0x2193, /* 25 down arrow */
0x2192, /* 26 right arrow */
0x2190, /* 27 left arrow */
0x2319, /* 28 */
0x280c, /* 29 left & right arrow */
0x25b2, /* 30 up triangle */
0x25bc, /* 31 down triangle */
32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87,
88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119,
120, 121, 122, 123, 124, 125, 126,
0x2302, /* 127 */
0x00c7, /* 128 */
0x00fc, /* 129 */
0x00e9, /* 130 */
0x00e2, /* 131 */
0x00e4, /* 132 */
0x00e0, /* 133 */
0x00e5, /* 134 */
0x00e7, /* 135 */
0x00ea, /* 136 */
0x00eb, /* 137 */
0x00e8, /* 138 */
0x00ef, /* 139 */
0x00ee, /* 140 */
0x00ec, /* 141 */
0x00c4, /* 142 */
0x00c5, /* 143 */
0x00c9, /* 144 */
0x00e6, /* 145 */
0x00c6, /* 146 */
0x00f4, /* 147 */
0x00f5, /* 148 */
0x00f2, /* 149 */
0x00fb, /* 150 */
0x00f9, /* 151 */
0x00ff, /* 152 */
0x00d6, /* 153 */
0x00dc, /* 154 */
0x00a2, /* 155 */
0x00a3, /* 156 */
0x00a5, /* 157 */
0x20a7, /* 158 */
0x0192, /* 159 */
0x00e1, /* 160 */
0x00ed, /* 161 */
0x00f3, /* 162 */
0x00fa, /* 163 */
0x00f1, /* 164 */
0x00d1, /* 165 */
0x00aa, /* 166 */
0x00ba, /* 167 */
0x00bf, /* 168 */
0x2310, /* 169 */
0x00ac, /* 170 */
0x00bd, /* 171 */
0x00bc, /* 172 */
0x00a1, /* 173 */
0x00ab, /* 174 */
0x00bb, /* 175 */
0x2591, /* 176 */
0x2592, /* 177 */
0x2593, /* 178 */
0x2502, /* 179 */
0x2524, /* 180 */
0x2561, /* 181 */
0x2562, /* 182 */
0x2556, /* 183 */
0x2555, /* 184 */
0x2563, /* 185 */
0x2561, /* 186 */
0x2557, /* 187 */
0x255d, /* 188 */
0x255c, /* 189 */
0x255b, /* 190 */
0x2510, /* 191 */
0x2514, /* 192 */
0x2534, /* 193 */
0x252c, /* 194 */
0x251c, /* 195 */
0x2500, /* 196 */
0x253c, /* 197 */
0x255e, /* 198 */
0x255f, /* 199 */
0x255a, /* 200 */
0x2554, /* 201 */
0x2569, /* 202 */
0x2568, /* 203 */
0x2560, /* 204 */
0x2550, /* 205 */
0x256c, /* 206 */
0x2567, /* 207 */
0x2568, /* 208 */
0x2564, /* 209 */
0x2565, /* 210 */
0x2559, /* 211 */
0x2558, /* 212 */
0x2552, /* 213 */
0x2553, /* 214 */
0x256b, /* 215 */
0x256a, /* 216 */
0x2518, /* 217 */
0x250c, /* 218 */
0x2588, /* 219 */
0x2584, /* 220 */
0x258c, /* 221 */
0x2590, /* 222 */
0x2580, /* 223 */
0x03b1, /* 224 */
0x00df, /* 225 */
0x0393, /* 226 */
0x03c0, /* 227 */
0x03a3, /* 228 */
0x03c3, /* 229 */
0x00b5, /* 230 */
0x03c4, /* 231 */
0x03a6, /* 232 */
0x0398, /* 233 */
0x03a9, /* 234 */
0x03b4, /* 235 */
0x221e, /* 236 */
0x036c, /* 237 */
0x03b5, /* 238 */
0x2229, /* 239 */
0x2261, /* 240 */
0x00b1, /* 241 */
0x2265, /* 242 */
0x2264, /* 243 */
0x2320, /* 244 */
0x2321, /* 245 */
0x00f7, /* 246 */
0x2248, /* 247 */
0x00b0, /* 248 */
0x2219, /* 249 */
0x00b7, /* 250 */
0x221a, /* 251 */
0x207f, /* 252 */
0x00b2, /* 253 */
0x25a0, /* 254 */
0x00a0 }; /* 255 */