home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
pc
/
source
/
pep21.arc
/
EBC2NS7
< prev
next >
Wrap
Text File
|
1989-12-29
|
5KB
|
250 lines
# ebc2ns7 25. may 1989 [gh]
##--------------------------------------------------------------------------
## Abstract:
# This file folds characters from the IBM EBCDIC character set into
# their counterparts in the ASCII 7-bit character set (ISO646 NS4551).
##
## Implementation:
## This is table was implemented to facilitate translation from the
## DisplayWrite editor, which uses a superset of EBCDIC containing
## Norwegian characters. If it doesn't suit you, you're welcome to hack
## the table!
## This table should also be simple to hack to generate IBM CP 850, but
## that is left as an exercise to the reader.
## I've zeroed out a lot of stuff. On those lines there a code is left
## as a comment at the end of the line. Those codes have no graphical
## representation in my (printed) copy of the EBCDIC table, but are the
## suggested translation to "ISO 2022". They are left in as comments
## (in parhenthesises) in case I ever figure out what that means.
## A copy of ISO 2022 would probably help.
##
## Bugs:
## Norwegian upper case [\] is still missing. I need examples.
##--------------------------------------------------------------------------
4 0 ## (156)
6 10 ## required new line
7 0 ## (127)
8 0 ## (151)
9 45 ## (141) superscript?
10 45 ## (142) repeat?
12 45 ## formfeed?
20 0 ## (157) restore
21 10 ## new line acknowledgement
22 8 ## backspace
23 0 ## (135)
26 0 ## (146) unit backspace
27 0 ## (143)
32 0 ## (128)
33 0 ## (129)
34 0 ## (130)
35 0 ## (131)
36 0 ## (132)
40 0 ## (136)
41 0 ## (137)
42 0 ## (138)
43 0 ## (139)
44 0 ## (140)
48 0 ## (144)
49 0 ## (145)
51 0 ## (147)
52 0 ## (148)
53 0 ## (149)
54 0 ## (150)
56 0 ## (152)
57 0 ## (153)
58 0 ## (154)
59 0 ## (155)
62 0 ## (158)
64 32 ## space
65 0 ## (160)
66 0 ## (161)
67 0 ## (162)
68 0 ## (163)
69 0 ## (164)
70 0 ## (165)
71 125 ## (166) liten }
72 0 ## (167)
73 0 ## (168)
74 91 ## [
75 46 ## .
76 60 ## <
77 40 ## (
78 43 ## +
79 33 ## !
80 38 ## &
81 0 ## (169)
82 0 ## (170)
83 0 ## (171)
84 0 ## (172)
85 0 ## (173)
86 0 ## (174)
87 0 ## (175)
88 0 ## (176)
89 0 ## (177)
90 93 ## ]
91 36 ## $
92 42 ## *
93 41 ## )
94 59 ## ;
95 94 ## ^
96 45 ## -
97 47 ## /
98 0 ## (178)
99 0 ## (179)
100 0 ## (180)
101 0 ## (181)
102 0 ## (182)
103 0 ## (183)
104 0 ## (184)
105 0 ## (185)
106 124 ## |
107 44 ## ,
108 37 ## %
109 95 ## _
110 62 ## >
111 63 ## ?
112 124 ## (186) liten |
113 0 ## (187)
114 0 ## (188)
115 0 ## (189)
116 0 ## (190)
117 0 ## (191)
118 0 ## (192)
119 0 ## (193)
120 0 ## (194)
121 96 ## `
122 58 ## :
123 35 ## #
124 64 ## @
125 39 ## '
126 61 ## =
127 34 ## "
128 0 ## (195)
129 97 ## a
130 98 ## b
131 99 ## c
132 100 ## d
133 101 ## e
134 102 ## f
135 103 ## g
136 104 ## h
137 105 ## i
138 0 ## (196)
139 0 ## (197)
140 0 ## (198)
141 0 ## (199)
142 0 ## (200)
143 0 ## (201)
144 0 ## (202)
145 106 ## j
146 107 ## k
147 108 ## l
148 109 ## m
149 110 ## n
150 111 ## o
151 112 ## p
152 113 ## q
153 114 ## r
154 0 ## (203)
155 0 ## (204)
156 123 ## (205) Liten {
157 0 ## (206)
158 0 ## (207)
159 0 ## (208)
160 0 ## (209)
161 126 ## ~
162 115 ## s
163 116 ## t
164 117 ## u
165 118 ## v
166 119 ## w
167 120 ## x
168 121 ## y
169 122 ## z
170 0 ## (210)
171 0 ## (211)
172 0 ## (212)
173 0 ## (213)
174 0 ## (214)
175 0 ## (215)
176 0 ## (216)
177 0 ## (217)
178 0 ## (218)
179 0 ## (219)
180 0 ## (220)
181 0 ## (221)
182 0 ## (222)
183 0 ## (223)
184 0 ## (224)
185 0 ## (225)
186 0 ## (226)
187 0 ## (227)
188 0 ## (228)
189 0 ## (229)
190 0 ## (230)
191 0 ## (231)
192 123 ## {
193 65 ## A
194 66 ## B
195 67 ## C
196 68 ## D
197 69 ## E
198 70 ## F
199 71 ## G
200 72 ## H
201 73 ## I
202 0 ## (232)
203 0 ## (233)
204 0 ## (234)
205 0 ## (235)
206 0 ## (236)
207 0 ## (237)
208 125 ## }
209 74 ## J
210 75 ## K
211 76 ## L
212 77 ## M
213 78 ## N
214 79 ## O
215 80 ## P
216 81 ## Q
217 82 ## R
218 0 ## (238)
219 0 ## (239)
220 0 ## (240)
221 0 ## (241)
222 0 ## (242)
223 0 ## (243)
224 92 ## \
225 0 ## (159)
226 83 ## S
227 84 ## T
228 85 ## U
229 86 ## V
230 87 ## W
231 88 ## X
232 89 ## Y
233 90 ## Z
234 0 ## (244)
235 0 ## (245)
236 0 ## (246)
237 0 ## (247)
238 0 ## (248)
239 0 ## (249)
240 48 ## 0
241 49 ## 1
242 50 ## 2
243 51 ## 3
244 52 ## 4
245 53 ## 5
246 54 ## 6
247 55 ## 7
248 56 ## 8
249 57 ## 9
250 0 ## (250)
251 0 ## (251)
252 0 ## (252)
253 0 ## (253)
254 0 ## (254)
## EOF