We help IT Professionals succeed at work.

[HTML] Webpage containing Hebrew characters not displaying properly

CE101 asked
Last Modified: 2016-05-14
The webpage in question, when it resides locally on my computer, displays nicely. However, when it resides on my website, it does not display properly in Firefox, IE and Chrome. I called the hosting company and they too see the same thing I do using the same 3 browsers.

Actually the Hebrew itself displays fine, however wrapped around each line of Hebrew text are two or three lines of high-order characters.

You can see what I mean in the attached screenshots:

The first few lines of HTML code are as follows:
<!DOCTYPE html> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html lang="he">  
<body dir="rtl">
<center><font face="David" size="2">ספר</font></cente<wbr ></wbr>r>
<b><center><font face="David" size="7">קן קולמוס</font></center></b><wbr ></wbr>
<center><font face="David" size="1"></font></center>
<b><center><font face="David" size="4">מחקרים ועיונים בסוגיות הש'ס</font></center></b>

Open in new window

Any suggestions would be greatly appreciated.

Watch Question


Hmmm - the code snippet looks correct that far ... since the hebrew text itself (which I don't understand) seems to be rendered OK, using hebrew text seems not to be the main part of the problem - I would suspect some delicate coding problem in the HTML code around it.

I don't know how the formatting (which seems to be broken) is done, and if the page is static or generated on the fly.

On the other side, the use of the non-standard font may trigger something in the web server trying to circumvent language problems .. and that attempt fatally fails.

A hint (which I can't try tue to missing data): Use WGET on both computers to fetch the HTML code as it comes from the server. Try WinMerge to compare the two files. Check if the differences could affect the page formatting.

If unsure, post both results an let me have a look at.
This one is on us!
(Get your first solution completely free - no credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.