title: Korean texts are going as junk in AJAX request
body: <p>Whenever i am sending Korean text in AJAX request with parameter server receive it as junk value.</p>
  
  <p>I need solution for this.</p>
  
  <p>Thanks.</p>
  
  <p>Code:</p>
  
  <pre><code>$.ajax({
  url : '/login?username='+username,
  cache: false,
  type : 'post',
  dataType : 'text',
  contentType : 'application/x-www-form-urlencoded; charset=UTF-8',
  success:function(data){
      alert('success');
  }
  </code></pre>
  
  <p>});</p>
  
  <p>Hi Deceze, in the server side we have "Spring Controller",
  and the method looks like</p>
  
  <pre><code>@RequestMapping(value="/login", method=RequestMethod.POST, consumes="application/x-www-
  form-urlencoded;charset=UTF-8")
  public @ResponseBody String login(@RequestParam("username") String username) {
      // Code
  }
  </code></pre>
  
  <p>And the received username is "íêµ­" when i enter "한국" (korea).</p>