title: .txt file seems to be different when opened on my computer. It seems to be OK on any other mobile device
body: <p>I've got a strange problem with my newly made .txt file.</p>
  
  <p>My Android Program is writing a string to a .txt file.</p>
  
  <p>Here's my method:</p>
  
  <pre><code> public void generateNoteOnSD(String sFileName, String sBody){
          try
          {
              File root = new File(Environment.getExternalStorageDirectory(), "Grafy");
              if (!root.exists()) {
                  root.mkdirs();
              }
              File gpxfile = new File(root, sFileName + ".txt");
              FileWriter writer = new FileWriter(gpxfile);
              writer.append(sBody);
              writer.append("**************\n");
              writer.flush();
              writer.close();
              Toast.makeText(this, "Saved", Toast.LENGTH_SHORT).show();
          }
          catch(IOException e)
          {
              e.printStackTrace();
          }
      }
  </code></pre>
  
  <p>Here's  how i invoke my method:</p>
  
  <pre><code>String s = "0 1 0 0 1 0\n1 0 1 0 1 0\n0 1 0 1 0 0\n0 0 1 0 1 1\n1 1 0 1 0 0\n0 0 0 1 0 0\n";
  
          generateNoteOnSD("test", s);
  </code></pre>
  
  <p>The problem is that my .txt file looks like this(when i open it on my mobile):</p>
  
  <pre><code>0 1 0 0 1 0
  1 0 1 0 1 0
  0 1 0 1 0 0
  0 0 1 0 1 1
  1 1 0 1 0 0
  0 0 0 1 0 0
  **********************
  </code></pre>
  
  <p>But when i open this file on my Computer the '\n' chars are gone... o.o and file looks like this:</p>
  
  <pre><code>0 1 0 0 1 01 0 1 0 1 00 1 0 1 0 00 0 1 0 1 11 1 0 1 0 00 0 0 1 0 0**********************
  </code></pre>
  
  <p>Where's the problem? :(</p>