title: RichTextBox not processing new line/carriage return characters
body: <p>I seem to be experiencing a very unusual issue with the <code>RichTextBox</code> control, programming in C# in Visual Studio 2008.</p>
  
  <p>I'm currently reading the stream of a file that's being written to by the windows console (with output redirection), and I'm reading it into my program (essentially, I'm recreating what's known in the unix world as "tail").</p>
  
  <p>When an array of bytes is read in, I'd like to return to a new line line, and continue reading. However, it seems like my RTB will not respond to new line or carriage return characters. For example, I've tried appending <code>\n</code>, <code>\r\n</code>, and even <code>Environment.NewLine</code> to the string being written, but nothing seems to be working. It just keeps writing across the same line.</p>
  
  <p>Here is the code that seems to be causing trouble:</p>
  
  <pre><code>string convertedBuffer = System.Text.Encoding.UTF8.GetString((byte[])e.UserState);
  
  outputBox.AppendText(convertedBuffer + "\n");
  </code></pre>
  
  <p>I'm really at a loss here, can anyone help?</p>