title: WebClient Wikipedia illegal path characters even after url encode
body: <p>I am trying to do a simple screen scrape from Wikipedia using the HTML Agility pack. I copied the format of a proper link that works in my browser, <a href="https://en.wikipedia.org/wiki/Nanticoke%2c_Pennsylvania" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Nanticoke%2c_Pennsylvania</a> &lt;- Works in browser
  However when using this code I get the illegal path characters exception from the WebClient class.</p>
  
  <p>Original Address: <a href="https://en.wikipedia.org/wiki/Nanticoke,_Pennsylvania" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Nanticoke,_Pennsylvania</a></p>
  
  <p>Update - downloading the website to a string variable before calling html.Load() doesn't throw the exception. I get illegal path characters on html.Load()</p>
  
  <p>Exception Data: <a href="https://i.stack.imgur.com/j4qx5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j4qx5.png" alt="enter image description here"></a></p>
  
  <pre><code>var client = new WebClient();
  var address = $"https://en.wikipedia.org/wiki/{HttpUtility.UrlEncode($"{name},_{state}")}";
  
  HtmlAgilityPack.HtmlDocument html = new HtmlAgilityPack.HtmlDocument();
  html.Load(client.DownloadString(address)); //Exception thrown here
  </code></pre>