Debian Codegraph @

terps/tads/tads2/win_lat2.tcs

raw
1 # Character Mapping Table
2 # Windows Latin-2 mapping
3
4 # Internal Character Set Identifier - this is a string of no more than
5 # four characters that uniquely and universally identifies the character
6 # set. For a given character set, this ID must be the same on every
7 # platform. The reason the ID must be the same everywhere is that the
8 # run-time uses the ID, which the compiler stores in the .GAM file, to
9 # choose the character set mapping file when a player loads the game.
10 # In order to allow you to compile your game on one system, and have
11 # players run the game on different systems, every system must use the
12 # same character set identifier for the internal character set, so that
13 # every platform can choose the correct character set mapping to the
14 # native character set.
15 #
16 # IMPORTANT - to ensure that character set identifiers are universal
17 # and unique, character set identifiers MUST be registered. Currently,
18 # Mike Roberts ([email protected]) maintains the list of registered
19 # character set identifiers; please contact him by email if you would
20 # like the current list or add a new character set to the list.
21 #
22 # You do NOT need to register *native* character sets. The native
23 # character set used to compile a game is not stored with the game,
24 # because it is irrelevant once the game is compiled -- the game is
25 # entirely translated to the internal character set during compilation.
26 # Note, however, that the TADS run-time varies by operating system in
27 # how it determines the native character set, and how it chooses a
28 # character set mapping file based on the native character set.
29 #
30 # On DOS, the run-time chooses a native character set based on the active
31 # "code page"; DOS labels code pages with 3- or 4-digit numbers. (For
32 # example, this file is for code page 437, the DOS US code page.) The
33 # run-time generates the name of the character mapping table by appending
34 # the internal character set ID to the code page number, then adding the
35 # extension ".tcp" -- for example, the mapping file for native code page
36 # 437 to internal character set ISO Latin 1 is called "437LA1.TCP".
37 # This convention is system-specific; consult the documentation for your
38 # version of TADS for local conventions.
39 #
40 # Members of the ISO Latin-X series of character sets are all registered,
41 # and are assigned identifiers such of the form "LaX", where X is the
42 # numeric suffix to the ISO Latin name. For example, ISO Latin-1 (ISO
43 # 8859-1) has identifier "La1", ISO Latin-2 has identifier "La2", and
44 # so on.
45 #
46 id = La1
47
48
49 # Full name of the internal character set - this name is stored in a
50 # game compiled with this internal character set, so that the run-time
51 # can display a sensible error message if a suitable mapping file is
52 # not available when a player loads the game. The full name isn't used
53 # for choosing the mapping file, but is meant for the player to see.
54 #
55 # Each registered character set has an official full name, which should
56 # be used here to ensure that players encountering character mapping
57 # problems can more easily determine what file they need. The ISO
58 # Latin series names should be of the form "ISO Latin-X (ISO 8859-Y)".
59 #
60 ldesc = ISO Latin-1 (ISO 8859-1)
61
62
63 # Extra System-specific information - this can be any string of
64 # characters; the meaning is system-dependent. For DOS, this extra
65 # information is ignored, so we'll just leave it out entirely here.
66 # Other systems use it for varying purposes. On Windows, for example,
67 # this string contains a code page number, which the TADS run-time
68 # will use as the system code page when this character set is selected
69 # by a game.
70 EXTRA_SYSTEM_INFO = 1250
71
72 # ---------------------------------------------------------------------------
73 # The ASCII subset 1-127 is the same in both character sets and therefore
74 # doesn't need to be mapped
75
76 #
77 # The following characters have equivalent characters in both character
78 # sets, so we'll provide a reversible 1-to-1 mapping.
79
80 # DOS 437 <-> ISO Latin 1
81 128 <-> 199
82 129 <-> 252
83 130 <-> 233
84 131 <-> 226
85 132 <-> 228
86 133 <-> 224
87 134 <-> 229
88 135 <-> 231
89 136 <-> 234
90 137 <-> 235
91 138 <-> 232
92 139 <-> 239
93 140 <-> 238
94 141 <-> 236
95 142 <-> 196
96 143 <-> 197
97 144 <-> 201
98 145 <-> 230
99 146 <-> 198
100 147 <-> 244
101 148 <-> 246
102 149 <-> 242
103 150 <-> 251
104 151 <-> 249
105 152 <-> 255
106 153 <-> 214
107 154 <-> 220
108 155 <-> 162
109 156 <-> 163
110 157 <-> 165
111 160 <-> 225
112 161 <-> 237
113 162 <-> 243
114 163 <-> 250
115 164 <-> 241
116 165 <-> 209
117 166 <-> 170
118 167 <-> 186
119 168 <-> 191
120 170 <-> 172
121 171 <-> 189
122 172 <-> 188
123 173 <-> 161
124 174 <-> 171
125 175 <-> 187
126 179 <-> 166
127 196 <-> 151
128 230 <-> 181
129 241 <-> 177
130 246 <-> 247
131 248 <-> 176
132 249 <-> 183
133 253 <-> 178
134
135 #
136 # there are a few characters in the DOS character set that map to the same
137 # ISO Latin 1 character as some other DOS character; we'll cover those
138 # here.
139
140 250 -> 183
141
142 #
143 # these characters are mappings from ISO Latin 1 that are redundant --
144 # multiple characters in ISO Latin 1 map to the same character in DOS
145 # code page 437. So, we only need to provide the mapping from ISO Latin 1.
146
147 # DOS code page 437 <- ISO Latin 1
148
149 196 <- 150
150
151
152 #
153 # The following characters from DOS code page 437 are not present in
154 # ISO Latin-1. We'll map them to character 129; this character isn't
155 # used in Latin-1, so we'll use it as our invalid character code.
156 # We'll map it back to character 177 in code page 437, which is a
157 # half-toned gray box; this will serve as our "missing character"
158 # display indicator.
159
160 # DOS 437 -> ISO Latin 1 invalid (129) -> DOS 437 invalid (177)
161 127 -> 129 -> 177
162 158 -> 129
163 159 -> 129
164 169 -> 129
165 176 -> 129
166 177 -> 129
167 178 -> 129
168 180 -> 129
169 181 -> 129
170 182 -> 129
171 183 -> 129
172 184 -> 129
173 185 -> 129
174 186 -> 129
175 187 -> 129
176 188 -> 129
177 189 -> 129
178 190 -> 129
179 191 -> 129
180 192 -> 129
181 193 -> 129
182 194 -> 129
183 195 -> 129
184 197 -> 129
185 198 -> 129
186 199 -> 129
187 200 -> 129
188 201 -> 129
189 202 -> 129
190 203 -> 129
191 204 -> 129
192 205 -> 129
193 206 -> 129
194 207 -> 129
195 208 -> 129
196 209 -> 129
197 210 -> 129
198 211 -> 129
199 212 -> 129
200 213 -> 129
201 214 -> 129
202 215 -> 129
203 216 -> 129
204 217 -> 129
205 218 -> 129
206 219 -> 129
207 220 -> 129
208 221 -> 129
209 222 -> 129
210 223 -> 129
211 224 -> 129
212 225 -> 129
213 226 -> 129
214 227 -> 129
215 228 -> 129
216 229 -> 129
217 231 -> 129
218 232 -> 129
219 233 -> 129
220 234 -> 129
221 235 -> 129
222 236 -> 129
223 237 -> 129
224 238 -> 129
225 239 -> 129
226 240 -> 129
227 242 -> 129
228 243 -> 129
229 244 -> 129
230 245 -> 129
231 247 -> 129
232 251 -> 129
233 252 -> 129
234 254 -> 129
235 255 -> 129
236
237 #
238 # The following characters from ISO Latin 1 do not appear in DOS code
239 # page 437. Map these ISO Latin 1 characters to our "missing character"
240 # indicator (DOS code page character 177).
241
242 177 <- 128
243 177 <- 130
244 177 <- 131
245 177 <- 132
246 177 <- 133
247 177 <- 134
248 177 <- 135
249 177 <- 136
250 177 <- 137
251 177 <- 138
252 177 <- 139
253 177 <- 140
254 177 <- 141
255 177 <- 142
256 177 <- 143
257 177 <- 144
258 177 <- 145
259 177 <- 146
260 177 <- 147
261 177 <- 148
262 177 <- 149
263 177 <- 152
264 177 <- 153
265 177 <- 154
266 177 <- 155
267 177 <- 156
268 177 <- 157
269 177 <- 158
270 177 <- 159
271 177 <- 160
272 177 <- 164
273 177 <- 167
274 177 <- 168
275 177 <- 169
276 177 <- 173
277 177 <- 174
278 177 <- 175
279 177 <- 179
280 177 <- 180
281 177 <- 182
282 177 <- 184
283 177 <- 185
284 177 <- 190
285 177 <- 192
286 177 <- 193
287 177 <- 194
288 177 <- 195
289 177 <- 200
290 177 <- 202
291 177 <- 203
292 177 <- 204
293 177 <- 205
294 177 <- 206
295 177 <- 207
296 177 <- 208
297 177 <- 210
298 177 <- 211
299 177 <- 212
300 177 <- 213
301 177 <- 215
302 177 <- 216
303 177 <- 217
304 177 <- 218
305 177 <- 219
306 177 <- 221
307 177 <- 222
308 177 <- 223
309 177 <- 227
310 177 <- 240
311 177 <- 245
312 177 <- 248
313 177 <- 253
314 177 <- 254