title: Newline characters disappear after uploading a txt to a server
body: <p>Can't parse any data from a <code>txt</code> file (not a <code>csv</code> for a reason) when it's uploaded to a server  because all the newline characters a apparently gone. <code>d3.js</code> parser that I'm using <code>parseRows</code> does not work properly without them.
  On a localserver everything seems to be fine.</p>
  
  <pre><code>d3.text('fileName.txt', 'text/plain', function(fileContent) {
      console.log(/\n/.test(fileContent));
  });
  
  [localserver]: true
  [onlineserver]: false
  </code></pre>
  
  <p>Using free hosting on Hostinger, <code>Apache</code> server according to Wappalyzer. Don't know much about it.
  Tried different encodings. No luck.</p>
  
  <p><strong>Update:</strong>
  I downloaded the txt back from the server and opened it in Sublime Text. No newline characters in it. The exact local copy is fine.</p>
  
  <p><strong>Solved by avoiding:</strong> Decided to save some time and nerve and uploaded my txts to Dropbox. In case someone has same problems, here is a little trick to get direct links to Dropbox files <a href="http://techapple.net/2014/04/trick-obtain-direct-download-links-dropbox-files-dropbox-direct-link-maker-tool-cloudlinker/" rel="nofollow">http://techapple.net/2014/04/trick-obtain-direct-download-links-dropbox-files-dropbox-direct-link-maker-tool-cloudlinker/</a></p>
  
  <p><strong>Also solved by berserking:</strong> Changing the extension of the file (to <code>csv</code> for example) also helps, lol</p>