When I write a file using Delphi it's on a Windows machine and the text files it puts out work fine on windows. When I use it on a Mac though it's expecting the formatting to be a bit different. On Mac the newline is different and it can't always read the Windows files.
How can I make my files readable by mac programs?
The simple fact is that it is different for all operating systems. There is no "universal" newline. The best you can do is be aware of the differences.