title: UTF-8 Encoding a string with double Quotes in C#
body: <pre><code>StringBuilder request = new StringBuilder();
  request.Append("&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;");
  
  byte[] msg;
  string decoded;
  
  msg=System.Text.Encoding.UTF8.GetBytes(request.ToString());
  decoded = System.Text.Encoding.UTF8.GetString(msg);
  </code></pre>
  
  <p>decoded  is <code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;</code></p>
  
  <p>the result has <code>\"</code>
  My question is how can I encode the message with quotes and still get string without <code>\"</code> after decdoing
  If I use AppendLine that the result also has <code>\r\n</code> </p>