Shmuel wrote:
How can I output hebrew ?
I have tried to make php script to write hebrew, but it can't do it,
why? I tried to put put this line in the beginning of the script:
<meta http-equiv=Content-Type content="text/html; charset=windows-1255">
But to no avail. It is regular hebrew, which shows in notepad with
unicode font and with normal true type font.
Any ideas ?
This is not a PHP question. I'll answer anyway though. To use Hebrew in
a webpage, you must use unicode.
1. Change the meta tag to <meta http-equiv=Content-Type
content="text/html; charset=utf-8">,
2. Get your text in unicode format (either by using escaped characters
like Ë to write it, or getting a tool to do it for you),
3. Copy your unicode entities into your HTML file.
Done.