Date: Wed, 31 Jan 2001 14:37:43 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Luigi Rizzo <rizzo@aciri.org> Cc: jgrosch@mooseriver.com, hackers@FreeBSD.ORG Subject: Re: EBCDIC -> ASCII Message-ID: <p05010404b69e18f4e1aa@[128.113.24.47]> In-Reply-To: <200101311642.f0VGgXv06307@iguana.aciri.org> References: <200101311642.f0VGgXv06307@iguana.aciri.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05010404b69e18f4e1aa>