473,563 Members | 2,696 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP and hebrew

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 ?

Jul 17 '05 #1
2 9781
vKp
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.

Jul 17 '05 #2
vKp wrote:
To use Hebrew in a webpage, you must use unicode.


I wouldn't say must.
http://www.nirdagan.com/hebrew/

--
Jock
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2676
by: Mr. x | last post by:
Hello, I am building a web-site. For a reason, I don't know why, if I put my site on my computer - I see hebrew character fine, but when I put my site on hosting company I don't see hebrew character. In my html page there is a line in the head section : <meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
0
1259
by: yoram | last post by:
Configuration: Visual Studio.net installation in Windows 2000 and XP Pro. In all regional settings in control pannel Hebrew is defined. Definition of Problem: When I create a new MFC Application project, in application type dialog box I don't see Hebrew in resource language combo box. When I build the dialog box, I can write in Hebrew in
2
9213
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends - I see hebrew, it is just sending by myself using *.aspx scripts). In web.config I have the following : <configuration> <system.web>
3
3683
by: Eitan | last post by:
Hello, I am looking for a function which convert hebrew string (windows) to hebrew string (dos). That's should pay attantion to commas, numbers, and any other character, that may have problem when converting hebrew from dos to hebrew. Thanks :)
7
2820
by: Elie Nacache | last post by:
Hi all, I develop an application (JAVA/JSP) on RedHat PostgreSQL 7.4.3 with PostgreSQL 7.4.2 JDBC3 with SSL (build 213). This application needs to serve pages in LATIN1 and Hebrew. For that I create 2 Databases, one DB in UNICODE encoding with client encoding LATIN1 when in the JSP the charset encoding is iso-8859-1 and it's working fine...
0
1162
by: Sim Zacks | last post by:
I read the recent posts about Hebrew support already and I am having a similar problem, but with an MS Access front end. The database is Unicode encoded. I can input Hebrew, query in hebrew and view hebrew from the PGAdmin III query tool. However in MS Access, when I type hebrew it changes to all ??? and when I view a record input through...
40
3079
by: Shmuel (Seymour J.) Metz | last post by:
I'd like to include some Hebrew names in a web page. HTML 4 doesn't appear to include character attributes for ISO-8859-8. I'd prefer avoiding numeric references, e.g., "&#x05E9;&#x05DE;&#x05D5;&#x05D0;&#x05DC;". Is there currently a standardized set of character attributes for Hebrew? If so, is there a downloadable set of definitions for...
2
2390
by: Zippy | last post by:
Hi. I'm working in Access 2003 - standard English version - and am trying to write a program with a Hebrew user interface. Being that Hebrew is a right-to-left language, the orders of columns in a pulldown list, 'left' control position property, etc, are not easy to work with. 1. What do I need for a fully Hebrew version of Access. ...
2
2994
by: Mitul | last post by:
Hello Friend, I am having very strange problem with mail function. As I have to implement Newsletter things in my hebrew site. I have implemented everything but having problem with subject line is not display on any one of mail services. Mail display body part properly in hebrew but subject line having problem its display junk character in...
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.