000
help converting EBCDIC to ASCII
Collapse
X
-
Tags: None
-
I don't have an answer, but it has been 10 years since I have had to say "EBCIDIC" out loud, and I was happy that I still remember how.
Good luck!
-
There is an old UNIX command called 'dd' I used to use to do this a very long time ago... It still ships with Mac OS X.Originally posted by SonOFpeRdiTioN View PostI need some help converting EBCDIC files to ASCII (csv or Excel format) files for work. I have a file conversion tool, but need some one with some experience to give me some one on one guidance. Please boardmail if you think you can help me out. Thanks.
Note the 'conv=' option. You would do something like:
on the command line.Code:% dd if=ebcdic_file of=ascii_file conv=ascii
Stupid IBM and their "standards"."If there is one thing I am, it's always right." -Ted Nugent.
"I honestly believe saying someone is a smart lawyer is damning with faint praise. The smartest people become engineers and scientists." -SU.
"Yet I still see wisdom in that which Uncle Ted posts." -creek.
GIVE 'EM HELL, BRIGHAM!
Comment
-
Why don't you just try it out and see what happens?Originally posted by SonOFpeRdiTioN View PostI have a file conversion tool, but need some one with some experience to give me some one on one guidance.
Surely the program generates new files for the converted ones. If not, copy them all first, then work on the copies. You should be able to peek into the new files and see if they look correct or not.
So what kind of files are they? Cobol programs?
Comment
-
You could always try using JEdit, if you don't like any of the other tools suggested here. It's a free java-based editor that you can download from jedit.org. You can open a file assuming a particular encoding, or just let it auto-detect, then have it modify the encoding in its edit buffer, and save the file out with a new name. I've used it before to convert between different file formats, and it worked fine. Here are a couple of screenshots.
Open the file based and assume a particular encoding:

Modify the encoding in the buffer:
Comment
Comment