Debian Codegraph @

texmf-dist/omega/otp/char2uni/inmsdos2.otp

raw
1 % File inmsdos2.otp
2 % Conversion to Unicode from IBM PC: CP 437 with graphics in C0
3 % Copyright (c) 1995 John Plaice and Yannis Haralambous
4 % This file is part of the Omega project.
5 %
6 % This file was derived from data in the tcs program
7 % (ftp://plan9.att.com/plan9/unixsrc/tcs.shar.Z, 16 November 1994)
8 %
9
10 input: 1;
11 output: 2;
12
13 tables:
14
15 tabmsdos2_c0[@"20] = {
16 @"0000, @"263A, @"263B, @"2665, @"2666, @"2663, @"2660, @"2022,
17 @"25D8, @"25CB, @"25D9, @"2642, @"2640, @"266A, @"266B, @"263C,
18 @"25B6, @"25C0, @"2195, @"203C, @"00B6, @"00A7, @"2043, @"21A8,
19 @"2191, @"2193, @"2192, @"2190, @"2319, @"2194, @"25B2, @"25BC
20 };
21
22 tabmsdos2[@"80] = {
23 @"00C7, @"00FC, @"00E9, @"00E2, @"00E4, @"00E0, @"00E5, @"00E7,
24 @"00EA, @"00EB, @"00E8, @"00EF, @"00EE, @"00EC, @"00C4, @"00C5,
25 @"00C9, @"00E6, @"00C6, @"00F4, @"00F6, @"00F2, @"00FB, @"00F9,
26 @"00FF, @"00D6, @"00DC, @"00A2, @"00A3, @"00A5, @"20A7, @"0192,
27 @"00E1, @"00ED, @"00F3, @"00FA, @"00F1, @"00D1, @"00AA, @"00BA,
28 @"00BF, @"2310, @"00AC, @"00BD, @"00BC, @"00A1, @"00AB, @"00BB,
29 @"2591, @"2592, @"2593, @"2502, @"2524, @"2561, @"2562, @"2556,
30 @"2555, @"2563, @"2551, @"2557, @"255D, @"255C, @"255B, @"2510,
31 @"2514, @"2534, @"252C, @"251C, @"2500, @"253C, @"255E, @"255F,
32 @"255A, @"2554, @"2569, @"2566, @"2560, @"2550, @"256C, @"2567,
33 @"2568, @"2564, @"2565, @"2559, @"2558, @"2552, @"2553, @"256B,
34 @"256A, @"2518, @"250C, @"2588, @"2584, @"258C, @"2590, @"2580,
35 @"03B1, @"00DF, @"0393, @"03C0, @"03A3, @"03C3, @"00B5, @"03C4,
36 @"03A6, @"0398, @"2126, @"03B4, @"221E, @"2205, @"2208, @"2229,
37 @"2261, @"00B1, @"2265, @"2264, @"2320, @"2321, @"00F7, @"2248,
38 @"00B0, @"2022, @"00B7, @"221A, @"207F, @"00B2, @"220E, @"00A0
39 };
40
41 expressions:
42
43 @"20-@"7F => \1;
44 @"00-@"1F => #(tabmsdos2_c0[\1]);
45 @"80-@"FF => #(tabmsdos2[\1-@"80]);
46 . => @"FFFD;