Matthew J Brooks wrote: > I believe the line breaks are supposed to get converted on the fly, so > while the line breaks are just LF in *nix, the browser in windows > converts them to CR LF. > > Though you might have to set the header to Content-type: text/plain as > hint if you target audience is opening it directly to notepad as I'm not > sure if the conversion would take place in that case.
I believe that to be true as well, and a quick trip to the RFCs shows: http://www.ietf.org/rfc/rfc2046.txt 4.1.1. Representation of Line Breaks The canonical form of any MIME "text" subtype MUST always represent a line break as a CRLF sequence. So if you're running say Apache on a UNIX platform, and it thinks it is serving up a text/plain document, it should convert the file to have CRLF line endings on the fly. The receiving web browser is then responsible for converting the text to the native format of the OS. -Tom -- Tom Metro Venture Logic, Newton, MA, USA "Enterprise solutions through open source." Professional Profile: http://tmetro.venturelogic.com/ _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

