title: Modify url of an XMLHttpRequest object
body: <p>As a fix for <a href="https://stackoverflow.com/questions/1597396/jquery-ajax-call-to-url-containing-accent-character-sends-bad-uri-from-ie-to-serv">this</a> issue, I was wondering if anyone knows of a way to modify the URL of an XMLHttpRequest object prior to sending it. </p>
  
  <p>Ideally, I want to change the uri (encode it) in the <code>beforeSend</code> event (using jQuery <a href="http://docs.jquery.com/Ajax/jQuery.ajaxSetup" rel="nofollow noreferrer">$.ajaxSetup</a>) instead of changing it in every location where I'm using $.ajax</p>
  
  <p>Thanks!</p>