title: turkish characters in php and sql
body: <p>I'm currently working on a php sql based translation database and am having issues getting the 6 distinct Turkish characters into sql.</p>
  
  <p>the page is set to a utf charset and I have tried using utf8_encode to no effect, I am also using Cyrillic on the page so am stuck having it all in utf8.</p>
  
  <p>at the moment I am just trying to pass the value from a form via post and then echoing it out, but that is also failing.</p>
  
  <p>any help would be greatly appreciated.</p>
  
  <p>edit* </p>
  
  <p>managed to get it to output in an echo with htmlentities, unfortunately it is now not entering sql properly. the field is set to utf8_unicode_ci</p>
  
  <p>update code is below</p>
  
  <pre><code>mysql_query("SET NAMES UTF8");
  mysql_query("UPDATE turkish='$turkish'  WHERE tid='$tid'");
  </code></pre>