title: ASP.NET - Invalid character in the given encoding .resx
body: <p>I am adding a number of languages to a client's website using the <code>App_LocalResource</code> folder containing <code>.resx</code> files.</p>
  
  <p>The client's test application is hosted on a server with no outside Internet access so I have to <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Services#Remote_Desktop_Connection" rel="nofollow">remote desktop</a> to the site and manually copy any changes made via <a href="http://en.wikipedia.org/wiki/Notepad_%28software%29" rel="nofollow">Notepad</a>..</p>
  
  <p>So far, I have manually created an <code>App_LocalResource</code> folder, created the <code>.resx</code> files and copied the source of each file via Notepad.</p>
  
  <p>I am now getting a parser error:</p>
  
  <blockquote>
    <p>Parser Error Message: Invalid character in the given encoding.</p>
  </blockquote>
  
  <pre><code>Line 137:  &lt;/data&gt;
  Line 138:  &lt;data name="DEATHINSERVICENOMINATIONS" xml:space="preserve"&gt;
  Line 139:    &lt;value&gt;Mort à candidatures Prestation de service&lt;/value&gt;
  Line 140:  &lt;/data&gt;
  Line 141:  &lt;data name="EDITPERSONALDATA" xml:space="preserve"&gt;
  </code></pre>
  
  <p>Would this possibly have something to do with me manually copying these files across using Notepad or is there another reason for it?</p>
  
  <p>I have added this to the <code>web.config</code> file:</p>
  
  <pre><code>&lt;globalization fileEncoding="utf-8"
      requestEncoding="utf-8"
      responseEncoding="utf-8"/&gt;
  </code></pre>