At 8:42 AM -0800 1/31/01, Luigi Rizzo wrote:
>  > At 1:33 PM -0800 1/29/01, Josef Grosch wrote:
>>  >Does anybody know of an EBCDIC to ASCII converter? I thought
>>  >that at one time FreeBSD had one of these.
>>
>>  Note there are multiple ideas of what it means to be EBCDIC.
>>  Alphanumerics stay the same between them, of course, but a
>>  few of the special characters (braces, brackets, accent-grave)
>>  move around.
>
>isn't so for ASCII chars >128 as well ?

yes, but ACSII has most characters that you care about < 128.
For instance, C-programs will probably be unhappy if you get
the wrong translation on curly-braces "{}", and perl programs
will probably be unhappy if you get the wrong translation on
square-brackets "[]".  Most versions of ascii have those in
the same place, while the various versions of ebcdic move
those characters around.

Now, it's perfectly reasonable to try 'dd's conversion, and
see if that works for you.  But if it doesn't, then rummage
around thru the ports collection, and see if there's something
there that knows about the different versions of ebcdic.  It
seems to me that I came across those once.

-- 
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to