I assume there must be a system and language independent way to just stick the ‘current’ EOL character into a text file, but my MSDN-fu seems to be weak today. Bonus points if there is a way to do this in a web application that will put the correct EOL character for the current client’s machine’s OS, not the web server’s.
Share
For the bonus point: