Hebrew : Java Glossary

go to home page H words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
Hebrew
Hebrew is one of the more difficult languages to handle in Java. The difficulties stem from these facts:
  1. It uses a different alphabet. The glyphs are defined in Unicode in the \u0590 range.
    Hebrew alphabet
    I find some of the letter pairs hard to tell apart e.g. Zayin-Vav, Chet-He, Nun-Bet-Kaf, Samech-Mem, Resh-Khaf.
  2. It does not have upper and lower case, which makes it simpler.
  3. Text is right justified rather than left justified.
  4. Text reads right to left, and is pronounced right to left. This the word Shalom which mean peace, hello and goodbye:
    shalom in Hebrew
    The letters are: Mem (M), Vav (O), Lamed (L), Shin (sh).
    In Unicode: \u05DD, \u05D5, \u05DC, \u05E9.
  5. Numbers read left to right, which are intermixed with alphabetic text.
  6. When you key text, you key right to left, but key numbers left to right.
  7. You have to be aware of the varying conventions for Swing, AWT, console input, console output, internal Strings, and drawString which you can ignore for left-to-right languages.
  8. Mem and Nun each have two forms, one for the middle of words and one for the end.
  9. Hebrew has totally different punctuation from English.
  10. Because the characters are so intricate, you must render them larger than you would the equivalent English glyphs.
  11. Programmer tools and word processors are not built to deal with Hebrew. You have to craft your own tools.

Using Hebrew In Java

Here is a program I wrote to experiment to find out how Hebrew works in Java.
Here are my findings:

Learning More

Sun’s Javadoc on the ComponentOrientation class : available:
Sun’s Javadoc on JTextComponent.setOrientation : available:
Sun’s Javadoc on Component.setComponentOrientation : available:
locale
translation

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] The information on this page is for non-military use only.
You are visitor number 7,552. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/hebrew.html J:\mindprod\jgloss\hebrew.html