Arabic Script Computing: From the Linotype to Unicode
Abstract
Arabic is written from right to left in a cursive script whose letters change shape with their position in the word, and its numbers run left to right inside the line. Every writing machine of the last 125 years had to bargain with that. The typewriter cut the alphabet to about 90 characters; in the 1950s the Lebanese publisher Kamel Mrowa and the British Linotype company cut newspaper type the same way, and the “Simplified Arabic” that resulted still shapes default computer fonts. The Arab Organization for Standardization and Metrology wrote a 7-bit Arabic code in 1982, and its 8-bit successor became ISO 8859-6, but Windows, DOS, IBM, and Apple each kept their own tables. In Kuwait, Mohammed al-Sharekh’s Sakhr sold Arabic MSX home computers from 1985 and hired the engineer Nabil Ali, who led its research on Arabic morphology and machine translation. Unicode settled the encoding by storing one code per letter and leaving shapes and direction to the display software.
The Problem
Of the 28 letters of the Arabic alphabet, all but six join the letter that follows, so most letters need separate forms for the beginning, middle, and end of a word and for standing alone. Short vowels and other signs sit above or below the consonants, and most printed text leaves them out. Arabic type for hand composition often had up to 470 characters; the Linotype linecaster, fitted with an auxiliary magazine, could hold 180; the typewriter got by with about 90, figures and punctuation included, by giving most letters only two shapes.
Reformers tried to change the script instead of the machines. The Arabic Language Academy in Cairo set up a commission for the reform of Arabic letters in 1938, and in 1945 it offered a prize of 1,000 Egyptian pounds for the best proposal. In 1968 a new commission sorted the more than 200 entries into three groups: keep the letters and vowel signs, keep the letters but write the vowels into the line, or switch to Latin letters. None was adopted. Rachid Zghibi, who surveyed the history in 2002, names religious, cultural, and nationalist reasons: the script was the script of the Qur’an, and a Latin alphabet looked like dependence on the West. The machines had to adapt.
Typewriters and the Linotype
Selim S. Haddad of Cairo received US patent 637,109, “Types for Type-Writers or Printing-Presses,” in 1899, and the Hammond Type-writer Company took out a British patent for Arabic type-writers in 1901. The first Arabic Linotype came from the diaspora. Salloum Mokarzel, whose brother Naoum published the Arabic newspaper al-Hoda in New York, worked with Mergenthaler Linotype from 1908 to adapt the machine, and by 1911 one was installed at the paper in Manhattan. The Linotype Bulletin remarked that making the Linotype practical for Arabic had “required years of study and hard work.”
Simplified Arabic
Kamel Mrowa, owner and editor of the Beirut daily al-Hayat, wanted newspaper composition as fast as the typewriter. In 1953 or 1954 he sent Linotype & Machinery in London the keyboard layout of a German Continental typewriter and told their representative that its “satisfactory and simple form of Arabic script” could be applied to the Linotype. The plan was a fount of 90 characters for a single 90-key keyboard with no side magazine, which meant giving each letter as few shapes as possible: two for ba, where one of Linotype’s existing Arabic faces used five. Linotype’s Walter Tracy worked the scheme out letter by letter, and the alphabetic characters came down from 102 to 69.
Work stalled, and in April 1957 Mrowa accused the company of neglecting the project and sent his calligrapher Nabih Jaroudi to London, who corrected the drawings in about two weeks. A trial fount was ready by late 1957, and on 13 December al-Hayat set a column of its front page in it, next to text in its Intertype face. In tests at the paper in 1958 the operators composed 30 percent faster. Linotype announced “Mrowa-Linotype Simplified Arabic” in November 1959; it could also be driven by coded paper tape (Teletypesetting) and cost less because it needed fewer matrices. By January 1960 the rival Intertype had a simplified face of its own in proof.
The design outlived the machine it was made for. Simplified Arabic moved almost unchanged to photocomposition, and later, as the type historian Titus Nemeth showed, to digital type, where its principles became the basis of the default Arabic system fonts on most computers, although digital type no longer needed the economy. In 2013 it was still on sale under the name Yakout. Nemeth also records that Hrant Gabeyan, Linotype’s representative in Egypt, who in 1967 gave the face its later name Yakout without ever being credited for it, worked on the first computer-aided Arabic typesetting system, installed at Cairo’s al-Ahram in 1969.
Codes and Standards
ISO 646, the international form of ASCII, left 12 positions for national characters, not enough for the Arabic letters and vowel signs, so computer makers selling in the Arab world defined their own Arabic codes. According to Zghibi, the question of a unified Arabic code for data transmission was first raised in the Arab world in 1975, and until 1976 no standard code covered the full alphabet with its vowel signs.
In 1982 Technical Committee 8 of the Arab Organization for Standardization and Metrology (ASMO) produced ASMO 449, a 7-bit code. It was registered internationally as ISO-IR 89 on 1 January 1985, with ASMO and the Arab Telecommunication Union as sponsors: 86 graphic characters derived from ISO 646, for data processing and transmission and “also intended for the usage of basic programs in Arabic language.” ISO published it as ISO 9036 in 1987. The 8-bit ASMO 708 put ASCII in the left half and the ASMO 449 letters in the right half, 146 characters in all. The European Computer Manufacturers Association published the same table as ECMA-114 in June 1986, the registry recorded its Arabic right-hand half as ISO-IR 127 on 30 November 1986, and ISO adopted ECMA-114 by its fast-track procedure as ISO 8859-6, first edition 15 August 1987. Zghibi dates ASMO 708 to 1988; the 1986 registration, which already names “Standard ASMO-708,” suggests that the Arab standard and the European one were prepared together. ASMO was dissolved in 1990.
Dead End: Nine Arabic Code Pages
The standard did not unify the market. Microsoft’s current list of code-page identifiers still carries nine Arabic entries: 708 (ASMO 708), 709 (ASMO-449+, BCON V4), 710 (Transparent Arabic), 720 (Transparent ASMO, the Arabic DOS page), 864 (IBM’s OEM Arabic), 1256 (Windows Arabic), 10004 (Mac Arabic), 20420 (IBM EBCDIC Arabic), and 28596 (ISO 8859-6). Apart from the EBCDIC page, they agree on the 128 ASCII positions and disagree on the Arabic letters. Zghibi’s example is the word قوي (strong), which ISO 8859-6 stores as bytes 226, 232, and 234; a browser reading those bytes as Windows code page 1256 displays “âèê.” A web page from the 1990s in the wrong encoding looked like French with the wrong accents, or like nothing at all.
Sakhr and the Arabic MSX
Mohammed al-Sharekh (1942–2024), a Kuwaiti economist trained at Cairo University and Williams College, first met computers in Washington, where the Arab states had put him on the World Bank’s board in 1973. In 1980 he founded the Al Alamiah group in Kuwait, an electronics dealer that also sold Atari’s 400 and 800, in English only. In 1982 he founded Sakhr. Al-Sharekh met Bill Gates and a Japanese businessman, Nishi, and licensed Microsoft’s MSX home-computer standard for an Arabic machine.
What MSX? reported the result in the summer of 1985: Hitachi and Yamaha were building Arabic versions for Al Alamiah with a full Arabic character set, right-to-left cursor movement, and keys marked in Arabic and English, launched with English–Arabic tutors, Qur’an quizzes, and design programs. The Yamaha AX-100, based on the CX5M, cost £300 and came with a text writer and a converter between the Islamic and Gregorian calendars; an Arabic disk operating system and Arabic printers were planned. Al Jazeera’s history of the company dates the launch of Sakhr MSX to June 1985. A Qur’an program followed in 1987, storing the text in the Ottoman orthography after approval by religious authorities in Kuwait, Saudi Arabia, and Egypt. From 1986 Sakhr was also Microsoft’s provider of Arabic localisation.
Iraq’s invasion of Kuwait in 1990 ended Sakhr’s work in Kuwait. Iraqi soldiers occupied its offices; al-Sharekh moved to Saudi Arabia and Egypt, and about 30 programmers were relocated to Cairo, where Sakhr continued as a software house. Al Jazeera’s account adds that talks with Microsoft about Arabic Windows broke off with the invasion, that Microsoft then hired Sakhr engineers, and that Sakhr’s lawsuit in the United States ended in a financial settlement. Sakhr’s later products included Arabic–English machine translation and optical character recognition for Arabic script. Al-Sharekh received the King Faisal Prize for Service to Islam in 2021, for the Qur’an and Hadith software and the Arabisation of computer programs, and died on 6 March 2024, aged 82.
Nabil Ali and Arabic Morphology
Nabil Ali (1938–2016) was an aeronautical engineer, with a doctorate from Cairo University in 1971 and twelve years in the Egyptian Air Force. As data-processing manager of EgyptAir from 1972 to 1976 he set up the first airline reservation system in the Arab region. His CV records a stint at World Electronics in Athens from 1978 to 1980, “developing the first Arabic word processor,” and from 1983 to 1986 the post of project manager for launching Sakhr in Kuwait, including the “first Arabic/English home computer (MSX-SAKHR).” From 1986 to 2000 he directed research and development for Sakhr in Cairo.
His work there dealt with the language behind the glyphs. Because most Arabic text is printed without vowel signs, a program has to work out a word’s structure before it can search, index, or pronounce it. Ali’s group built a morphological analyser and generator, a parser, an automatic diacritiser that restored the missing vowels, and a lexical database organised by semantic features, and he directed the work on what his CV calls the first English-to-Arabic machine translation system. He shared the 2012 King Faisal Prize for Arabic Language and Literature, awarded that year for “Computer Processing of the Arabic Language,” with Ali Helmy Mousa of Ain Shams University, and died in Cairo in January 2016.
Unicode and the Bidirectional Algorithm
Unicode chose the opposite approach to Simplified Arabic’s. Each letter receives one code point “no matter how many different contextual appearances it may exhibit in text,” and the rendering software picks the initial, medial, final, or isolated glyph. The basic Arabic letters sit “in the same relative positions as in ISO/IEC 8859-6,” which in turn follow ASMO 449, so the older data converts directly. Blocks of precomposed “presentation forms” exist only for compatibility with older systems and “should not be used in general interchange.”
Direction is handled by a separate rule. Text is stored in logical order, the order in which it is typed and read, and conformant software must use the Unicode Bidirectional Algorithm to lay it out on screen, so that a Latin word, a telephone number, or an English quotation inside an Arabic sentence appears in the right order. Version 1.0 of the Unicode Standard, published in October 1991, already had an appendix on directionality; the second volume of June 1992 added one on Arabic character shaping. The algorithm is maintained today as Unicode Standard Annex #9.
Programming in Arabic
The ASMO 449 registration in 1985 already said the code was “also intended for the usage of basic programs in Arabic language.” In 1986 Mohammed Ghazali Khayyat of the University of Petroleum and Minerals described Dad (ضاد, the name of an Arabic letter), a general-purpose Arabic programming language with user-defined data types and structured control statements, and a compiler that translated it into assembly language. In 2012 the programmer Ramsey Nasser, a fellow at the Eyebeam Art and Technology Center in New York, released Qalb (قلب, “heart”), a small Scheme-like language written entirely in Arabic. Nasser called it “the first programming language that is a conceptual art piece” and pointed at the English keywords of mainstream languages: “Computer science was born largely in England and software engineering was really fostered in the United States.” Because the connecting strokes between Arabic letters can be stretched without changing the text, a Qalb program can be lengthened into calligraphic shapes and still run.
For India’s parallel story of keyboards, codes, and private fonts, see Indian Language Computing; for the Chinese one, Wang Yongmin and the Chinese Input Wars. The regional industry around Sakhr is in The Middle East’s Tech Industry, and the universal character set in Unicode and UTF-8.
📚 Sources
- Titus Nemeth: “Simplified Arabic: a new form of Arabic type for hot metal composition”, Typography Papers 9, 2013, pp. 173–189 (28 letters and joining; 470, 180, and 90 characters; Hammond patent 1901; Mrowa’s approach of 1953/54 with the Continental typewriter; 90-key fount, 102 to 69 characters; Jaroudi in April 1957; al-Hayat of 13 December 1957; 30 percent faster in 1958; announcement November 1959; TTS; Intertype in January 1960; photocomposition, digital default fonts, Yakout; Gabeyan and al-Ahram 1969)
- Titus Nemeth: “Arabic Hot Metal: The Origins of the Mechanisation of Arabic Typography”, Philological Encounters 3(4), 2018, pp. 496–523 (accepted version at CentAUR; Salloum and Naoum Mokarzel, al-Hoda, Mergenthaler from 1908, installation by 1911, the Linotype Bulletin quotation)
- Titus Nemeth: Arabic Type-Making in the Machine Age: The Influence of Technology on the Form of Arabic Type, 1908–1993, Brill, Leiden, 2017
- Rachid Zghibi: “Le codage informatique de l’écriture arabe : d’ASMO 449 à Unicode et ISO/CEI 10646”, Document numérique 6(3–4), 2002, pp. 155–182 (archived copy) (Cairo Academy commission 1938, prize 1945, more than 200 proposals reviewed from 1968, reasons for rejection; 12 national positions in ISO 646; 1975 and 1976; ASMO TC 8 and ASMO 449 in 1982; ASMO 708 with 146 characters dated 1988; ASMO dissolved 1990; the ISO 8859-6 versus code page 1256 example)
- ISO 9036:1987, Information processing: Arabic 7-bit coded character set for information interchange
- ISO-IR 89: 7-bit Coded Arabic Character Set for Information Interchange (ASMO 449), registered 1 January 1985
- ISO-IR 127: Right-Hand Part of Latin/Arabic Alphabet (ECMA-114, ASMO-708), registered 30 November 1986
- Ecma International: ECMA-114, 8-bit single-byte coded graphic character sets, Latin/Arabic alphabet (1st edition June 1986; ISO 8859-6)
- ISO 8859-6:1987, first edition 1987-08-15, preview (adopted from ECMA-114 by the fast-track procedure)
- Microsoft Learn: Code Page Identifiers (code pages 708, 709, 710, 720, 864, 1256, 10004, 20420, 28596)
- The Unicode Standard, Chapter 9: Middle East-I (one code point per letter, relative positions of ISO/IEC 8859-6, presentation forms, the Bidirectional Algorithm requirement)
- Unicode Standard Annex #9: Unicode Bidirectional Algorithm
- The Unicode Standard, Version 1.0 (Appendix A “Directionality” in volume 1; Appendix A “Character Shaping Behavior” in volume 2) and Unicode release dates (1.0.0 October 1991, 1.0.1 June 1992)
- Heinz Nixdorf MuseumsForum blog, “Uvumbuzi – Informatik-Ideen aus Afrika” (28 July 2026) (Selim S. Haddad, US patent 637,109 of 1899) and Selim S. Haddad, US patent 637,109, “Types for Type-Writers or Printing-Presses,” issued 14 November 1899
- “MSX Goes Arabic”, What MSX? 1(2), Summer 1985, Internet Archive (Microsoft and Alalamiah; Hitachi and Yamaha versions; Arabic character set, right-to-left cursor, bilingual keys; Yamaha AX-100 based on the CX5M at £300; planned Arabic DOS and printers)
- Hassan al-Adam: “صخر الضاد.. رحلة تعريب الحاسوب ورقمنة التراث العربي” (Sakhr al-Dad: the Arabisation of the computer), Al Jazeera, 7 September 2025 (al-Sharekh born 1942, World Bank board 1973, Atari 400 and 800, Gates and Nishi, Sakhr MSX launched June 1985, Qur’an program 1987, the invasion and the move to Cairo with 30 programmers, the Microsoft dispute and settlement)
- Ghadi Joudah: “Arabic software pioneer Mohammed Al-Sharekh dies”, Arab News, 7 March 2024 (died on Wednesday 6 March 2024, aged 82; Al Alamiah 1980, Sakhr 1982, Microsoft’s Arabic localisation provider from 1986; machine translation and OCR; King Faisal Prize 2021)
- King Faisal Prize: Mr. Mohamed bin Abdulrahman Al-Sharekh, Service to Islam 2021 (Cairo University 1965, Williams College; prize citation)
- King Faisal Prize: Professor Nabil Ali Mohamed, Arabic Language and Literature 2012 (Cairo University degrees, Air Force from 1960, EgyptAir data-processing manager and the first airline reservation system in the Arab region, Sakhr, died in Cairo 26 January 2016)
- “Defense minister gives away King Faisal Prizes”, Arab News, 7 March 2012 (2012 topic “Computer Processing of the Arabic Language: Individual and Institutional Endeavors”, Ali Hilmi Ahmed Mousa and Nabil Ali Mohamed as co-winners)
- Nabil Ali: curriculum vitae (c. 2011), hosted by the Center for Language Engineering, Lahore (PhD 1971; EgyptAir 1972–1976; World Electronics, Athens, 1978–1980; Sakhr 1983–1986 and 1986–2000; morphological processor, parser, diacritizer, lexical database, English-to-Arabic machine translation; most Arabic text presented unvowelized)
- Google: “الذكرى الـ82 لميلاد الدكتور نبيل علي” (Doodle for Nabil Ali, 3 January 2020) (born in Cairo in 1938)
- Mohammed Ghazali Khayyat: “لغة البرمجة العربية (ضاد)” (The Arabic programming language Dad), Iraqi Journal for Computers and Informatics 15(1), 1986, pp. 20–48
- Ramsey Nasser: قلب (Qalb), source repository (Scheme-like language written in Arabic, © 2012, developed at Eyebeam)
- Neil McAllister: “Arabic programming language shows computers’ English bias”, The Register, 25 January 2013 (Nasser’s quotations, stretched letter connections)
- Image: SakhrMSX02.jpg by MDChaara (CC BY-SA 4.0), via Wikimedia Commons