Gaj's Latin alphabet

Gaj's Latin alphabet (Serbo-Croatian: Gajeva latinica / Гајева латиница, pronounced [ɡâːjeva latǐnit͡sa]), also known as abeceda (Serbian Cyrillic: абецеда, pronounced [abet͡sěːda]) or gajica (Serbian Cyrillic: гајица, pronounced [ɡǎjit͡sa]), is the form of the Latin script used for writing Serbo-Croatian and all of its standard varieties: Bosnian, Croatian, Montenegrin, and Serbian. It contains 27 individual letters and 3 digraphs. Each letter (including digraphs) represents one Serbo-Croatian phoneme, yielding a highly phonemic orthography. It closely corresponds to the Serbian Cyrillic alphabet.
The alphabet was initially devised by Croatian linguist Ljudevit Gaj in 1835 during the Illyrian movement in ethnically Croatian parts of the Austrian Empire. It was largely based on Jan Hus's Czech alphabet and was meant to serve as a unified orthography for three Croat-populated kingdoms within the Austrian Empire at the time, namely Croatia, Dalmatia and Slavonia, and their three dialect groups, Kajkavian, Chakavian and Shtokavian, which historically utilized different spelling rules. The alphabet's final form was defined in the late 19th century.
A slightly reduced version is used as the alphabet for Slovene, and a slightly expanded version is used for modern standard Montenegrin. A modified version is used for the romanization of Macedonian. It further influenced alphabets of Romani languages that are spoken in Southeast Europe, namely Vlax and Balkan Romani.
The alphabet consists of thirty upper and lower case letters:
Letters are referred to by their name: a, be, ce, če, će, de, dže, đe, e, ef, ge, ha, i, je, ka, el, elj, em, en, enj, o, pe, er, es, eš, te, u, ve, ze, že, or, in the case of consonants, by being appended by schwa, e.g. /fə/. In mathematics, ⟨j⟩ is commonly pronounced jot, as in the German of Germany.
The vowels a, e, i, o, u, along with the syllabic consonant r, can take one of 5 accents; the double grave accent (◌̏) for a short vowel with falling tone, the inverted breve (◌̑) for a long vowel with falling tone, the grave accent (◌̀) for a short vowel with rising tone, the acute accent (◌́) for long vowel with rising tone, and macron (◌̄) for a non-tonic long vowel. These diacritic accents are used only in dictionaries, and linguistic publications.
Various foreign letters are also utilised in orthographically unadapted loanwords and foreign proper names, such as Québec. Orthographically unadapted spelling of foreign names and some loanwords is standard in Croatia, whereas Serbians prefer to use orthographically adapted spellings to maintain correspondence between Cyrillic and Latin scripts. Non-native letters Q, W, X, and Y appear on the Serbo-Croatian keyboard. These four letters are usually named as follows: ⟨q⟩ as kve or ku, ⟨w⟩ as duplo ve or dvostruko ve, ⟨x⟩ as iks, and ⟨y⟩ as ipsilon.
Digraphs ⟨dž⟩, ⟨lj⟩ and ⟨nj⟩ are considered to be single letters, and they signify single phonemes. However, they are distinguished from occurences of two such letters that signify two distinct phonemes: džep (/d͡ʒêp/, Cyrillic џеп) uses the digraph, while nadživjeti (/nadʒǐːvjeti/, Cyrillic надживјети, morphological boundary: prefix nad- + base živjeti) uses two separate letters.
The Serbo-Croatian Latin alphabet was mostly designed by Ljudevit Gaj, who modelled it after Czech (č, ž, š) and Polish (ć), and invented ⟨lj⟩, ⟨nj⟩ and ⟨dž⟩, according to similar solutions in Hungarian (ly, ny and dzs, although dž combinations exist also in Czech (and Polish as dż)). In 1830 in Buda, he published the book Kratka osnova horvatsko-slavenskog pravopisanja ("Brief basics of the Croatian-Slavonic orthography"), which was the first common Croatian orthography book. It was not the first ever Croatian orthography work, as it was preceded by works of Rajmund Đamanjić (1639), Ignjat Đurđević and Pavao Ritter Vitezović. Croats had previously used the Latin script, but some of the specific sounds were not uniformly represented. Versions of the Hungarian alphabet were most commonly used, but others were too, in an often confused, inconsistent fashion.
Gaj followed the example of Pavao Ritter Vitezović and the Czech orthography, making one letter of the Latin script for each sound in the language. Following Vuk Karadžić's reform of Cyrillic in the early nineteenth century, in the 1830s Ljudevit Gaj did the same for latinica, using the Czech system and producing a one-to-one grapheme-phoneme correlation between the Cyrillic and Latin orthographies, resulting in a parallel system.
In 1878 Đuro Daničić proposed a replacement of the digraphs ⟨dž⟩, ⟨dj⟩, ⟨lj⟩ and ⟨nj⟩ with single letters: ⟨ģ⟩, ⟨đ⟩, ⟨ļ⟩ and ⟨ń⟩ respectively. Of the four, ⟨đ⟩ was accepted in Ivan Broz's 1892 Hrvatski pravopis ("Croatian Orthography") and it thus became a part of the standard alphabet, though it was not immediately accepted by all writers and publishers. The other three letters remained in use only in certain philological publications. Names of individual people have sometimes retained the pre-đ spelling: Ksaver Šandor Gjalski (/d͡ʑâːlskiː/), Gjuro Szabo (/d͡ʑǔːro/).
Each Cyrillic and Latin Serbo-Croatian letter has its exact counterpart in the other alphabet, although Latin digraphs ⟨lj⟩, ⟨nj⟩ and ⟨dž⟩ correspond to Cyrillic single letters ⟨љ⟩, ⟨њ⟩ and ⟨џ⟩. The following table provides the upper and lower case forms of Gaj's Latin alphabet, along with the equivalent forms in the Serbo-Croatian Cyrillic alphabet.
In the 1990s, there was a general confusion about the proper character encoding to use to write text in Latin Croatian on computers.
The preferred character encoding for Croatian today is either the ISO 8859-2, or the Unicode encoding UTF-8 (with two bytes or 16 bits necessary to use the letters with diacritics). However, as of 2010, one can still find programs as well as databases that use CP1250, CP852 or even CROSCII.
Digraphs ⟨dž⟩, ⟨lj⟩ and ⟨nj⟩ in their upper case, title case and lower case forms have dedicated Unicode code points as shown in the table below, However, these are included chiefly for backwards compatibility with legacy encodings which kept a one-to-one correspondence with Cyrillic; modern texts use a sequence of characters.
Since the early 1840s, Gaj's alphabet was increasingly used for Slovene. In the beginning, it was most commonly used by Slovene authors who treated Slovene as a variant of Serbo-Croatian (such as Stanko Vraz), but it was later accepted by a large spectrum of Slovene-writing authors. The breakthrough came in 1845, when the Slovene conservative leader Janez Bleiweis started using Gaj's script in his journal Kmetijske in rokodelske novice ("Agricultural and Artisan News"), which was read by a wide public in the countryside. By 1850, Gaj's alphabet (known as gajica in Slovene) became the only official Slovene alphabet, replacing three other writing systems that had circulated in the Slovene Lands since the 1830s: the traditional bohoričica, named after Adam Bohorič, who codified it; the dajnčica, named after Peter Dajnko; and the metelčica, named after Franc Serafin Metelko.
The Slovene version of Gaj's alphabet differs from the Serbo-Croatian one in several ways:
As in Serbo-Croatian, Slovene orthography does not make use of diacritics to mark accent in words in regular writing, but headwords in dictionaries are given with them to account for homographs. For instance, letter ⟨e⟩ can be pronounced in four ways (/eː/, /ɛ/, /ɛː/ and /ə/), and letter ⟨v⟩ in two ([ʋ] and [w], though the difference is not phonemic). Also, it does not reflect consonant voicing assimilation: compare e.g. Slovene ⟨odpad⟩ and Serbo-Croatian ⟨otpad⟩ ('junkyard', 'waste').
Romanization of Macedonian is done according to Gaj's Latin alphabet with slight modification. Gaj's ć and đ are not used at all, with ḱ and ǵ introduced instead. The rest of the letters of the alphabet are used to represent the equivalent Cyrillic letters. Also, Macedonian uses the letter dz, which is not part of the Serbo-Croatian phonemic inventory. As per the orthography, both lj and ĺ are accepted as romanisations of љ and both nj and ń for њ. For informal purposes, like texting, most Macedonian speakers will omit the diacritics or use a digraph- and trigraph-based system for ease as there is no Macedonian Latin keyboard supported on most systems. For example, š becomes sh or s, and dž becomes dzh or dz.
The standard Gaj's Latin alphabet keyboard layout for personal computers is as follows: