"Fossies" - the Fresh Open Source Software Archive 
Member "detox-1.4.5/src/iso8859_1.h" (15 Aug 2021, 3201 Bytes) of package /linux/privat/detox-1.4.5.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "iso8859_1.h" see the
Fossies "Dox" file reference documentation.
1 /**
2 * This file is part of the Detox package.
3 *
4 * Copyright (c) Doug Harple <detox.dharple@gmail.com>
5 *
6 * For the full copyright and license information, please view the LICENSE
7 * file that was distributed with this source code.
8 *
9 */
10
11 /**
12 * Special thanks to: http://www.bbsinc.com/iso8859.html
13 */
14
15 #define ISO8859_1_OFFSET 0x80
16 #define ISO8859_1_COUNT 128
17 #define ISO8859_1_MAXLEN 8
18
19 /* starts at 80 */
20 char iso8859_1_trans[ISO8859_1_COUNT][ISO8859_1_MAXLEN] = {
21 "_", /* 0x0080 */
22 "_", /* 0x0081 */
23 "_", /* 0x0082 */
24 "_", /* 0x0083 */
25 "_", /* 0x0084 */
26 "...", /* 0x0085 */
27 "_", /* 0x0086 */
28 "_", /* 0x0087 */
29 "^", /* 0x0088 */
30 "_", /* 0x0089 */
31 "S", /* 0x008A */
32 "_", /* 0x008B */
33 "OE", /* 0x008C */
34 "_", /* 0x008D */
35 "_", /* 0x008E */
36 "_", /* 0x008F */
37 "_", /* 0x0090 */
38 "_", /* 0x0091 */
39 "_", /* 0x0092 */
40 "_", /* 0x0093 */
41 "_", /* 0x0094 */
42 "_", /* 0x0095 */
43 "-", /* 0x0096 */
44 "-", /* 0x0097 */
45 "_", /* 0x0098 */
46 "_tm_", /* 0x0099 */
47 "s", /* 0x009A */
48 "_", /* 0x009B */
49 "oe", /* 0x009C */
50 "_", /* 0x009D */
51 "_", /* 0x009E */
52 "Y", /* 0x009F */
53 "_", /* 0x00A0 */
54 "_", /* 0x00A1 */
55 "_cent_", /* 0x00A2 */
56 "_pound_", /* 0x00A3 */
57 "_", /* 0x00A4 */
58 "_yen_", /* 0x00A5 */
59 "_", /* 0x00A6 */
60 "_", /* 0x00A7 */
61 "_", /* 0x00A8 */
62 "_copy_", /* 0x00A9 */
63 "_", /* 0x00AA */
64 "_", /* 0x00AB */
65 "_", /* 0x00AC */
66 "_", /* 0x00AD */
67 "_reg_", /* 0x00AE */
68 "_", /* 0x00AF */
69 "_", /* 0x00B0 */
70 "_", /* 0x00B1 */
71 "2", /* 0x00B2 */
72 "3", /* 0x00B3 */
73 "_", /* 0x00B4 */
74 "b", /* 0x00B5 */
75 "_pp_", /* 0x00B6 */
76 "_", /* 0x00B7 */
77 "_", /* 0x00B8 */
78 "1", /* 0x00B9 */
79 "_", /* 0x00BA */
80 "_", /* 0x00BB */
81 "_", /* 0x00BC */
82 "_", /* 0x00BD */
83 "_", /* 0x00BE */
84 "_", /* 0x00BF */
85 "A", /* 0x00C0 */
86 "A", /* 0x00C1 */
87 "A", /* 0x00C2 */
88 "A", /* 0x00C3 */
89 "A", /* 0x00C4 */
90 "A", /* 0x00C5 */
91 "AE", /* 0x00C6 */
92 "C", /* 0x00C7 */
93 "E", /* 0x00C8 */
94 "E", /* 0x00C9 */
95 "E", /* 0x00CA */
96 "E", /* 0x00CB */
97 "I", /* 0x00CC */
98 "I", /* 0x00CD */
99 "I", /* 0x00CE */
100 "I", /* 0x00CF */
101 "TH", /* 0x00D0 */
102 "N", /* 0x00D1 */
103 "O", /* 0x00D2 */
104 "O", /* 0x00D3 */
105 "O", /* 0x00D4 */
106 "O", /* 0x00D5 */
107 "O", /* 0x00D6 */
108 "x", /* 0x00D7 */
109 "O", /* 0x00D8 */
110 "U", /* 0x00D9 */
111 "U", /* 0x00DA */
112 "U", /* 0x00DB */
113 "U", /* 0x00DC */
114 "Y", /* 0x00DD */
115 "TH", /* 0x00DE */
116 "ss", /* 0x00DF */
117 "a", /* 0x00E0 */
118 "a", /* 0x00E1 */
119 "a", /* 0x00E2 */
120 "a", /* 0x00E3 */
121 "a", /* 0x00E4 */
122 "a", /* 0x00E5 */
123 "ae", /* 0x00E6 */
124 "c", /* 0x00E7 */
125 "e", /* 0x00E8 */
126 "e", /* 0x00E9 */
127 "e", /* 0x00EA */
128 "e", /* 0x00EB */
129 "i", /* 0x00EC */
130 "i", /* 0x00ED */
131 "i", /* 0x00EE */
132 "i", /* 0x00EF */
133 "th", /* 0x00F0 */
134 "n", /* 0x00F1 */
135 "o", /* 0x00F2 */
136 "o", /* 0x00F3 */
137 "o", /* 0x00F4 */
138 "o", /* 0x00F5 */
139 "o", /* 0x00F6 */
140 "_", /* 0x00F7 */
141 "o", /* 0x00F8 */
142 "u", /* 0x00F9 */
143 "u", /* 0x00FA */
144 "u", /* 0x00FB */
145 "u", /* 0x00FC */
146 "y", /* 0x00FD */
147 "th", /* 0x00FE */
148 "y", /* 0x00FF */
149 };