in reply to Problem with newlines in text file generated for download

Would

Content-Type: text/plain

work better?

-- TMTOWTDI