Debian Codegraph @

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

raw
1 % File inmsdos.otp
2 % Conversion to Unicode from IBM PC: CP 437
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 tabmsdos[@"80] = {
16 @"00C7, @"00FC, @"00E9, @"00E2, @"00E4, @"00E0, @"00E5, @"00E7,
17 @"00EA, @"00EB, @"00E8, @"00EF, @"00EE, @"00EC, @"00C4, @"00C5,
18 @"00C9, @"00E6, @"00C6, @"00F4, @"00F6, @"00F2, @"00FB, @"00F9,
19 @"00FF, @"00D6, @"00DC, @"00A2, @"00A3, @"00A5, @"20A7, @"0192,
20 @"00E1, @"00ED, @"00F3, @"00FA, @"00F1, @"00D1, @"00AA, @"00BA,
21 @"00BF, @"2310, @"00AC, @"00BD, @"00BC, @"00A1, @"00AB, @"00BB,
22 @"2591, @"2592, @"2593, @"2502, @"2524, @"2561, @"2562, @"2556,
23 @"2555, @"2563, @"2551, @"2557, @"255D, @"255C, @"255B, @"2510,
24 @"2514, @"2534, @"252C, @"251C, @"2500, @"253C, @"255E, @"255F,
25 @"255A, @"2554, @"2569, @"2566, @"2560, @"2550, @"256C, @"2567,
26 @"2568, @"2564, @"2565, @"2559, @"2558, @"2552, @"2553, @"256B,
27 @"256A, @"2518, @"250C, @"2588, @"2584, @"258C, @"2590, @"2580,
28 @"03B1, @"00DF, @"0393, @"03C0, @"03A3, @"03C3, @"00B5, @"03C4,
29 @"03A6, @"0398, @"2126, @"03B4, @"221E, @"2205, @"2208, @"2229,
30 @"2261, @"00B1, @"2265, @"2264, @"2320, @"2321, @"00F7, @"2248,
31 @"00B0, @"2022, @"00B7, @"221A, @"207F, @"00B2, @"220E, @"00A0
32 };
33
34 expressions:
35
36 @"00-@"7F => \1;
37 @"80-@"FF => #(tabmsdos[\1-@"80]);
38 . => @"FFFD;