Questions tagged [hebrew]

The Hebrew language is written right to left (RTL), much like Arabic and Farsi, requiring special handling when mixing Roman numerals and Latin characters in order to maintain correct flow.

Questions in this tag must be posted in English, but examples can be given using Hebrew characters when relevant
!השאלות צריכות להיות באנגלית

Hebrew is a language of the Semitic branch of the Afro-Asiatic languages that, in modern and ancient forms, is an official language of Israel and a language in which much of the scriptures of Jews and Christians are written in. Hebrew is also a 22 letter consonant-only alphabet used for the Hebrew and other languages.

The Hebrew language is written right to left (RTL), much like Arabic, Farsi, Urdu, and Yiddish, requiring special handling when mixing Roman numerals and Latin characters in order to maintain correct flow. Hebrew also supports accents (Te'amim) and points (Nikkud) that may be displayed differently based on the preceding letters.

In UTF-8, Hebrew characters begin at U+0591 and end at U+05F4 (including punctuation and Yiddish).

In ASCII Hebrew can use several codepages, with the most common being cp1255 (windows-1255), followed by cp8859-8 and, less common, cp862.

Tag Usage

Use this tag for:

  • Any question relating to technical uses for Hebrew in computerized systems, conversions of different charsets, inputting, outputting, processing, or displaying Hebrew characters, and the like.
    • Users should also consider looking into other localization tags such as [rtl] and [utf-8] as many Hebrew problems are not unique to Hebrew but are localization related in general.

Do not use this tag for:

  • General questions about the Hebrew language or alphabet (off-topic).
  • Questions about learning or studying Hebrew (off-topic).
  • Requests for translation assistance between Hebrew and any other language (off-topic).
  • Questions written in Hebrew (Stack Overflow requires that questions be written in English).
723 questions
29
votes
6 answers

Matplotlib: Writing right-to-left text (Hebrew, Arabic, etc.)

I'm trying to add some text to my plot which is RTL (in this case, Hebrew). After some work managed to get it to display the text, but it's displayed LTR (meaning, in the reverese order). I've dug into the reference and did extensive search online…
Korem
  • 9,501
  • 5
  • 46
  • 67
29
votes
2 answers

Lucene Hebrew analyzer

Does anybody know whether one exists? I've been googling this for monthes... Thanks
Roey
  • 829
  • 1
  • 11
  • 20
28
votes
2 answers

How to handle RTL languages on pre 4.2 versions of Android?

Background TextView always had issues with RTL (Right-To-Left) languages. Since I know only how to read Hebrew (in addition to English), I will talk about its issues: Text alignment (and I'm not talking about gravity) . As an RTL language, Hebrew…
android developer
  • 106,412
  • 122
  • 641
  • 1,128
27
votes
6 answers

How to detect on which side of the browser is scrollbar - right or left (in case of RTL)?

For some browsers (Safari, Edge, IE) will automatically move the scrollbar to the left side which is the correct behavior: Unfortunately, major browsers (Chrome and Firefox) are behaving in a different way, the scrollbar is still…
Limon Monte
  • 44,025
  • 43
  • 163
  • 189
21
votes
7 answers

RTL is on web page reverses numbers with a dash

When my website displays Hebrew text mixed with numbers, and there is a number with a dash in the middle, the number with the dash in the middle is displayed RTL. For example, with the text: רמה 4–0, it should display 4-0 instead of 0-4, since it…
21
votes
5 answers

Javascript - how to find hebrew?

i"m trying to fint if a string starts(first letter) width an RTL language/ hebrew. any ideas?
Gilad
14
votes
5 answers

In Win7, Unicode/ UTF-8 text file: gibberish on Windows console (Trying to display hebrew)

I have a wide-character file (with Hebrew text) that looks fine in Notepad (saved in "UTF-8 encoding"), reads fine in Notepad++, and when I copy-and-paste into MS Word it looks fine too. But when I open a "DOS box" (Windows console) and go: "type…
Helen Craigman
  • 1,341
  • 3
  • 13
  • 23
14
votes
3 answers

How can I get today's Jewish date in c#?

I have this code: DateTime dtAnyDateHebrew = new DateTime(5767, 1, 1, new System.Globalization.HebrewCalendar()); how can I get the numeric Hebrew date of today? Meaning: For example I want to find out if a specific Hebrew month falls in this…
Tal
  • 281
  • 2
  • 5
14
votes
4 answers

Python's os.path choking on Hebrew filenames

I'm writing a script that has to move some file around, but unfortunately it doesn't seem os.path plays with internationalization very well. When I have files named in Hebrew, there are problems. Here's a screenshot of the contents of a…
Eli Bendersky
  • 231,995
  • 78
  • 333
  • 394
12
votes
6 answers

php json_encode() show's null instead of text

I am reading from database with some text in Hebrew and trying to json_encode it. if i print_r the results i get: Array ( [0] => Array ( [value] => 88 [text] => כיתה א' [parent_id] => 1 …
eric.itzhak
  • 14,702
  • 26
  • 83
  • 137
12
votes
5 answers

Make left to right languages be written as right to left html

In my html page, I need to make my text input accept a specific set of letters. I do that by catching the keypressed event and checking that the entered character is valid. Those allowed characters are both taken from english that is written from…
user5326354
11
votes
1 answer

Hebrew text in HTML files

I just did a pretty major typesetting session putting things in order for a specific prayer in Hebrew named Tikkun Haklali. It's here on jsfiddle.net. Unfortunately, when I tried to save the HTML and CSS to my computer, I get something like…
Naftuli Kay
  • 75,812
  • 80
  • 244
  • 374
11
votes
7 answers

TextView gravity not working with Hebrew

I have TextView on Hebrew that i want to be on the right side, so i'm doing On some phones it will be aligned to right and on some it will be aligned to left. I think it depends on some phone…
Butters
  • 221
  • 2
  • 4
11
votes
1 answer

Displaying hebrew text on screen

I want to display hebrew text on the screen using the text command in MATLAB: text(0.6, 0.5, 'ירוק', 'rotation', 180, 'fontsize', 50, 'color', 'r') The problem is that it displays gibberish. Does anybody know why? What should I do in order to…
user552231
  • 1,011
  • 2
  • 18
  • 35
11
votes
6 answers

PHP: using DOMDocument whenever I try to write UTF-8 it writes the hexadecimal notation of it

When I try to write UTF-8 Strings into an XML file using DOMDocument it actually writes the hexadecimal notation of the string instead of the string itself. for example: ירושלים instead of: ירושלים Any…
ufk
  • 26,596
  • 55
  • 202
  • 346
1
2 3
48 49