title: jquery AJAX response in plain ASCII
body: <p>I post a pair of chinese characters to my server:</p>
  
  <blockquote>
    <p>忠孝</p>
  </blockquote>
  
  <p>the web server then translates them into pinyin:</p>
  
  <blockquote>
    <p>Zhōngxiào</p>
  </blockquote>
  
  <p>I know this works, because I got that by directly hitting my AJAX handler. So, the server is encoding everything correctly. However, when I receive that response via jQuery, I get:</p>
  
  <blockquote>
    <p>Zh&amp;#333;ngxi&amp;#224;o</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>$.ajax({  
      type: "POST", url: 'procChineseTrans', data: 'toTrans='+text,contentType: "application/x-www-form-urlencoded; charset=UTF-8",
      complete: function(data){
          //alert(data.responseText);
          $('#street_address').val(data.responseText);
  }});
  </code></pre>
  
  <p>I also set:</p>
  
  <pre><code>header('Content-Type:text/html; charset=UTF-8');
  </code></pre>
  
  <p>and </p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  </code></pre>
  
  <p>Is there a reason my response is in plain ASCII?</p>
  
  <p>Edit:</p>
  
  <p>Checking my response header, it says it is in UTF-8. But, it is still displaying ASCII</p>