title: Accented urls in c# to create xml? (Exception occured while inserting entry)
body: <p>I am trying to build some xml files with c#, the following is where i do get a problem :</p>
  
  <pre><code>      StringBuilder tmp = new StringBuilder ();
  
        tmp.Append ("&lt;link&gt;");
        tmp.Append ("&lt;url&gt;").Append (link).Append ("&lt;/url&gt;");
        tmp.Append ("&lt;hash&gt;").Append ((link).Content.StringValue.ToUpper ()).Append ("&lt;/hash&gt;");
        tmp.Append ("&lt;/link&gt;");
  </code></pre>
  
  <p>when the <code>link</code> doesn't have some special characters like "é" it works fine, but for a link like "fr.wikipedia.org/wiki/Été" i get this error :</p>
  
  <p><code>Exception occured while inserting entry: XML parsing: line 1, character 218, illegal xml character</code></p>
  
  <p>Thanks</p>