title: StreamWriter Problem - 2 Spaces Written as Hex '20 c2 a0' instead of Hex '20 20'
body: <p>I'm writing a bunch of strings to a file using a string writer but I've discovered a problem when I look at the file created in hex, and that is that one of the spaces (x20) is replaced with a non-breaking space instead (xc2 a0) when there are 2 spaces separating words.  I don't know if this is a big deal but I would like to know if there is an easy resolution to this?</p>
  
  <p>Here's what I'm seeing:</p>
  
  <pre><code>20 c2 a0 53 57 45 45 50 Dump = "  SWEEP"
  </code></pre>
  
  <p>But I would like it to always be:</p>
  
  <pre><code>20 20 53 57 45 45 50    Dump = "  SWEEP"
  </code></pre>
  
  <p>Note that the c2 a0 aren't visible here but the dump looks something like 'A.' when I use the Notepad++ Hex Plugin.</p>
  
  <p>Does anyone have any ideas?</p>
  
  <p>Cheers and Thanks In Advance;</p>
  
  <p>-Daver </p>