title: Decoding multiple encoded string
body: <p>How do I decode this to get the result below?</p>
  
  <pre><code>/browse_ajax?action_continuation=1\u0026amp;continuation=4qmFsgJAEhhVQ2ZXdHFQeUJNR183aTMzT2VlTnNaWncaJEVnWjJhV1JsYjNNZ0FEZ0JZQUZxQUhvQk03Z0JBQSUzRCUzRA%253D%253D
  
  /browse_ajax?action_continuation=1&amp;continuation=4qmFsgJAEhhVQ2ZXdHFQeUJNR183aTMzT2VlTnNaWncaJEVnWjJhV1JsYjNNZ0FEZ0JZQUZxQUhvQk03Z0JBQSUzRCUzRA%253D%253D
  </code></pre>
  
  <p>I've tried these, also using them multiple times as I did read strings may be encoded multiple times.</p>
  
  <pre><code>System.Text.RegularExpressions.Regex.Unescape(string)
  System.Uri.UnescapeDataString(string)
  System.Net.WebUtility.UrlDecode(string)
  </code></pre>
  
  <p>Which is the right function here or rather in what order do I need to call them to get that result. As the strings vary there may be other special characters in the set so doing a workaround, editing it myself, is somewhat too risky.</p>
  
  <p>The string has to be decoded to work with <code>new System.Net.WebClient().DownloadString(string)</code>.</p>
  
  <p><strong>EDIT:</strong> So I found out the above statement is wrong, <strong>I do not have to decode this to use <code>WebClient.DownloadString(string)</code></strong>. However the downloaded string suffers similar encoding too. Setting the <code>WebClient</code>'s Encoding property to UTF8 inbefore downloading does most of the job, however some characters still seem corrupted, for example: Double quotes and ampersand stay <code>\u0026quot;</code> and <code>\u0026amp;</code>.</p>
  
  <p>I don't know how to make \u0026 to &amp;, so I can change &amp; amp; to &amp;.</p>