I am generating a standard text (.txt) file via php. I am using the standard \n for line breaks. The purpose of the file is to be downloaded and printed by a user. The problem is that when the file is downloaded and opened, the line breaks show up as little black rectangles and the file looks a mess. On certain platforms, (windows 98) the line breaks are not interpreted at print time. On win2k it shows the black rectangles, but picks them up as line breaks at print time.
When generating a text file is there another, better way to encode line breaks or carriage returns?
Any help is appreciated.