Re: file encoding prob.
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 17:58:08 -0500
igthibau@xxxxxxxxxx writes:
Hi there,
Right, I wrote a fortran code that reads text files and produces output.
The problem is that the files I created to test the code work fine. But
files I get from "outside", even if as ascii contain control codes that
screw things up.
Things like ^@^M and such.
dos2unix does nothing.
So, the big question is : how does one strip files from these codes, or
change them to linux standards?
This is the one thing that prevents the process to work and I am running out
of ideas here.
First be more exact in your problem description.
The "and such" part is throwing me off.
If you see the above symbols, you'd have to tell use which program
showed them. Better to run "od -x" and tell us if it's line endings
only or something else.
.
- Follow-Ups:
- Re: file encoding prob.
- From: igthibau
- Re: file encoding prob.
- References:
- file encoding prob.
- From: igthibau
- file encoding prob.
- Prev by Date: file encoding prob.
- Next by Date: Re: What's the state of the art in linux DVD movie backups?
- Previous by thread: file encoding prob.
- Next by thread: Re: file encoding prob.
- Index(es):
Relevant Pages
|