title: newUri Output differs for Asp,Net Core Docker Windows and Linux
body: <p>I have created an ASP core web application and getting the root path of a folder present within wwwroot of the project.</p>
  <p>Created Asp core web application by enabling docker with Linux and windows mode. I am using characters like Č, Š, Ž etc in the folder name. For example, assume the name is &quot;ČVOR&quot;. Executing this code in Linux docker with the below code, the path is provided as</p>
  <pre><code>
  new Uri(&quot;/app/wwwroot/ČVOR&quot;).Host
  
  </code></pre>
  <p>The result is</p>
  <pre><code>&quot;/app/wwwroot/%C4%8CVOR&quot;
  </code></pre>
  <p>When there are no special characters, the Uri returns an empty string.</p>
  <p>For example, below code returns an empty string</p>
  <pre><code>new Uri(&quot;/app/wwwroot/CVOR&quot;).Host
  
  </code></pre>
  <p>But in Windows docker, the path will be as &quot;C:\app/wwwroot/ČVOR&quot; and it returns &quot;&quot; empty string.</p>
  <p>Can someone please suggest whether any sample configurations have to be changed for this difference between both modes? How the special characters can be processed with new Uri?</p>
  <p>Regards,</p>
  <p>Keerthana.</p>