Click to See Complete Forum and Search --> : Viewing a file generated under Linux


exec1
06-29-2001, 01:07 PM
Hi !

I generate text files on a server under linux. Those text files are downloaded by clients under Windows.

How can I avoid the "end of line" problem ?
(\n isn't encoded the same way under linux and Windows, and when I open the file under windows, each end of line is replaced with a black square...)

thanks a lot

Eric

Anon
06-29-2001, 03:15 PM
Use the program UltraEdit. It works great, it will even convert the file for you also. It works the other way too.

exec1
06-29-2001, 04:07 PM
I 've found the solution : under windows, you need to use "\r\n" to do an end of line...

Works perfectly :-)