Hello,
I guess it's a bit off topic but my script is written in PHP so I
guess somebody out there could help me.
I'm facing the well known issue between windows and UNIX related OS.
The file format is crucial. The file is made on a linux box and as to
be parsed on a windows box by a commercial software (so I cannot play
with the code on that side).
I'm having a problem to mark the end of lines.
"\n" as you all know doesn't pass well on Windows.
How could I replace this one:
fwrite($fichier , "this is a new line\n");
to make it works with windows?
Thank you,
Olivier
I guess it's a bit off topic but my script is written in PHP so I
guess somebody out there could help me.
I'm facing the well known issue between windows and UNIX related OS.
The file format is crucial. The file is made on a linux box and as to
be parsed on a windows box by a commercial software (so I cannot play
with the code on that side).
I'm having a problem to mark the end of lines.
"\n" as you all know doesn't pass well on Windows.
How could I replace this one:
fwrite($fichier , "this is a new line\n");
to make it works with windows?
Thank you,
Olivier
Comment