Mac vs PC .csv files

Marielle Lange M.Lange at ed.ac.uk
Wed Jun 22 13:38:18 EDT 2005


>I have been ask by a friend on a PC to send him some files in .csv
>format.  When I do, he complains that the returns are missing.  I
>guess I am still a bit unclear on this difference between platforms.
>As I understand it the Mac uses LF for a delimiter, and the PC uses
>CR.   When I end the lines with return, it does not end up as a CR in
>the output file.  Is there a simple way to specify an end to my lines
>that is compatible with all platforms for .csv files that are read by
>programs other than Rev?

Hi Dennis,

No there is no way to specify your end-of-lines to be cross-platform as expects
different characters to act as an end of line.

Yes, you can easily have your friend read your text file edited on a mac on a
PC. Different end of line conversion programs can also be found for each
platform. For instance, if my memory is exact, the excellent Notetab light
(http://www.notetab.com/ntl.php) does that for you.

Alternatively, you can use a similar utility on your machine and save your file
in PC format.

More information at:
<http://www.macosxhints.com/article.php?story=20031018164326986>

Marielle


More information about the use-livecode mailing list