title: Can't get json data from jQuery ajax call
body: <p>I'm trying to get data from <code>data.php</code> via jQuery ajax call.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>var jsonData;
  
  $.ajax({
          url: 'data.php',
          success: function(response) {
              jsonData = response;
          }
  });
  </code></pre>
  
  <p>My <code>data.php</code> file is returning json formatted data but some text is in Unicode format.
  I set charset on <code>data.php</code> and on my javascript file, but still cant access responced data objects.</p>
  
  <p>Any ideas?</p>