title: IIS 7.5 URL Rewrite encoding
body: <p>I have following rewrite rule in web.config:</p>
  
  <pre><code>&lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="Search" stopProcessing="true"&gt;
        &lt;match url="^search/(.+)$" /&gt;
        &lt;action type="Redirect" url="?q={R:1}" /&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>It works fine both on IIS Express 8.0 and IIS 7.5 on Azure Websites for urls like <code>/search/test</code> (only ascii characters) - redirects to <code>/?q=test</code>. 
  But for urls with unicode characters (<code>/search/тест</code> or <code>/search/%D1%82%D0%B5%D1%81%D1%82</code>) on IIS 7.5 on Azure Websites redirects to <code>/?q=Ñ‚ÐµÑÑ‚</code> (or <code>/?q=%C3%91%E2%80%9A%C3%90%C2%B5%C3%91%C2%81%C3%91%E2%80%9A</code>) instead of <code>/?q=%D1%82%D0%B5%D1%81%D1%82</code>. It works correctly on IIS Express 8.0. </p>