Hi all,

I've got a dataset that I'm trying to make exportable for MiniTab, etc. It's tab-delimited and lines end with "\n".

When I serve it up as "text/plain" and view it in my web browser, it works just fine and all the line breaks are in the right places.

When I send the header to make it a downloadable "attachment":
Content-Disposition: attachment; filename=""
Then there are no line breaks at all - it's all one line, and the line-breaks don't appear.

I tried "\r" instead, and that didn't work either.

Any idea what I might be doing wrong here?