title: Polish characters in mysql response
body: <p>I have a problem with polish characters. I can't get correctly written words, like '?ukasz' instead of "Łukasz" or even "null", when it supposed to be "Kraków". I tried "mysql_set_charset('utf-8'/'iso-8859-1')" after mysql_connect or iconv(on json_encode($output)) and it's still the same (except now there is "Krak\u00f3" instead of "null"). I'll appreciate any help.</p>
  
  <p>This is a php file for my Android app:
      
  
  <pre><code>$id_client = $_REQUEST['id_klienta'];
  $con=mysql_connect('localhost', 'root', '') or die(mysql_error());
  mysql_select_db('courier_helper') or die(mysql_error());
  
  $sql=mysql_query("SELECT * FROM `clients` WHERE id_klienta='$id_client'");
  while($r=mysql_fetch_assoc($sql))
      $output[]=$r;
  
  print(json_encode($output));
  
  mysql_close($con);
  
  ?&gt;
  </code></pre>