title: Replace a string in a text read from a csv and save it
body: <p>I managed to load the csv and now want to change a few strings inside and then save it again.</p>
  
  <p>First problem: He doesnt want to change the text to '0 . Replacing only "4" with "0" works, but never when my string has more than 1 character.</p>
  
  <p>Second problem: The last replace where I delete all <strong>'</strong> to "". When opening the csv in an editor it shows some weird asian characters instead of nothing.
  (䈀攀稀甀最猀瀀爀)</p>
  
  <p>There are no spaces in my csv. The csv looks like</p>
  
  <blockquote>
    <p>.....";"<strong>++49</strong> then more random numbers and so on. </p>
  </blockquote>
  
  <p>This is just the part where ++49 is to be found.</p>
  
  <p>Relevant code:</p>
  
  <pre><code>Encoding ansi = Encoding.GetEncoding(1252); 
  
              foreach (string file in Directory.EnumerateFiles(@"path comes here, "*.csv"))
              {
  
                  string text = File.ReadAllText(file, ansi);
                  text = text.Replace(@"++49", "'0");
                  text = text.Replace("+49", "'0");
                  text = text.Replace(@"""", "");
                  File.WriteAllText(file, text, ansi);
              }
  </code></pre>
  
  <p>Am i doing something fundamentally wrong?</p>
  
  <p>edit: What it looks like: <code>";"++49&lt;morenumbers&gt;";;</code> What it should look like:  <code>;0&lt;morenumbers&gt;;;</code></p>