title: jQuery ajax double encoding issue
body: <p>I am trying to send an ajax call to the server which reads input text from the user (it's Hebrew in utf-8 charset).
  I use something like this:</p>
  
  <pre><code>my_url = some_url + textinput
  my_url = encodeURI(my_url)
  </code></pre>
  
  <p>The problem that I see is that after the <code>encodeURI</code> function, the Hebrew part looks like that: <code>%D7%9E%D7%9C%D7%95%D7%9F</code> (which is fine). I then use the jquery call:</p>
  
  <pre><code>$.ajax({
      url: search_url,
      contentType: "application/json; charset=utf-8",
      dataType: 'json',
      error:errorData,
      success:getSearchResults
  });
  </code></pre>
  
  <p>and I see that at the server it looks like it was encoded again such that each "%" sign is now %25 (the utf-8 representation of percent sign) and my Hebrew part looks like that:</p>
  
  <p><code>%25D7%259E%25D7%259C%25D7%2595%25D7%259F</code> (each "%" => %25)</p>
  
  <p>I couldn't find any way to overcome this, I hope you can :-)</p>
  
  <p>Cheeers,
  Roy </p>