title: Hebrew encoding with PHP and MySQL
body: <p>I'm currently writing a php5 web application. It suppose to extract data from the DB and show it in an HTML page. In order to show Hebrew characters, the charset encoding in the HTML is:<code>charset=windows-1255</code><br>
  The application is configured to work with MySQL.
  I have problems with the Hebrew encoding, it's actually some kind of paradox...<br>
  1. When I configure the collation in the DB table to be <code>UTF_bin</code> and the charset <code>UTF-8</code>:<br>
  The Hebrew characters that extracted from the db are shown fine, the HTML Hebrew not.<br>
  2. When I configure the collation in the DB table to be <code>UTF_bin</code> and the charset <code>windows-1255</code>:<br>
  The Hebrew characters that extracted from the db are show are show as random characters, the HTML Hebrew is ok.</p>
  
  <p>Does anyone has an idea how to solve it?<br>
  Thanks!</p>