title: New lines in tab delimited or comma delimtted output
body: <p>I am looking for some best practices as far as handling csv and tab delimited files.</p>
  
  <p>For CSV files I am already doing some formatting if a value contains a comma or double quote but what if the value contains a new line character? Should I leave the new line intact and encase the value in double quotes + escape any double quotes within the value?</p>
  
  <p>Same question for tab delimited files. I assume the answer would be very similar if not the same.</p>