Wrong text being shown in a template file
You need to set the encoding of new files to utf-8 in your text-editor. The image below is on Notepad++. There should be a similar setting in your text editor.



To test if you got it right, create an HTML/PHP file with the Hebrew text outside of Drupal first.

For Notepad, Save As and select UTF-8 as the Encoding.



Also, make sure you have the following line in the &lt;head&gt; tag of your HTML:

&lt;meta charset="utf-8"&gt;