title: Chartset encoding when using Ajax ? JQuery
body: <p>I have a web application (UTF-8) in which the following one can be used to send to the server side</p>
  
  <pre><code>áéíóú
  àèìòù
  ÀÈÌÒÙ
  ÁÉÍÓÚ
  </code></pre>
  
  <p>Ok. I use something like as follows to send data</p>
  
  <pre><code>// Notice $("#myForm").serialize()
  $.get("/path?", $("#myForm").serialize(), function(response) {
  
  });
  </code></pre>
  
  <p>When i see my recordSet, i get (database charSet encoding is UTF-8)</p>
  
  <pre><code>Ã¡Ã©Ã­Ã³Ãº
  Ã Ã¨Ã¬Ã²Ã¹
  ÃÃ‰ÃÃ“Ãš
  Ã€ÃˆÃŒÃ’Ã™
  </code></pre>
  
  <p>Even when using $.post, i get the same result set</p>
  
  <p>After seeing serialize() method in JQuery in Action book:</p>
  
  <blockquote>
    <p>Creates <strong>a properly formatted and encoded query string</strong> from all successful form elements in the wrapped set</p>
  </blockquote>
  
  <p>But, as shown above, it does not appear to work fine. So instead of serialize() method, i use</p>
  
  <pre><code>var objectArray =  $("#myForm").serializeArray();
  
  var queryString = "";
  for(var i = 0; i &lt; objectArray.length; i++) {
      queryString += "&amp;" + objectArray[i]["name"] + "=" + objectArray[i]["value"];
  }
  
  $.get("/path?" + queryString, null, function(response) {
  
  });
  </code></pre>
  
  <p>Now i get in database</p>
  
  <pre><code>áéíóú
  àèìòù
  ÀÈÌÒÙ
  ÁÉÍÓÚ
  </code></pre>
  
  <p>So Am i missing something when using serialize() method ? Why serialize() method does not work as expected ?</p>