Homoglyph

The homoglyphs
U+0061 a LATIN SMALL LETTER A and
U+0430 а CYRILLIC SMALL LETTER A overlaid. In the image, both characters are set in Helvetica LT Std Roman.

In orthography and typography, a homoglyph is one of two or more graphemes, characters, or glyphs with shapes that appear identical or very similar but may have differing meaning. The designation is also applied to sequences of characters sharing these properties.

In 2008, the Unicode Consortium published its Technical Report #36[1] on a range of issues deriving from the visual similarity of characters both in single scripts, and similarities between characters in different scripts.

Examples of homoglyphic symbols are (a) the diaeresis and umlaut (both a pair of dots, but with different meaning, although encoded with the same code points); and (b) the hyphen and minus sign (both a short horizontal stroke, but with different meaning, although often encoded with the same code point). Among digits and letters, digit 1 and lowercase l are always encoded separately but in many typefaces are given very similar glyphs, and digit 0 and capital O are always encoded separately but in many typefaces are given very similar glyphs. Virtually every example of a homoglyphic pair of characters can potentially be differentiated graphically with clearly distinguishable glyphs and separate code points, but this is not always done. Typefaces that do not emphatically distinguish the one/el and zero/oh homoglyphs are considered unsuitable for writing formulas, URLs, source code, IDs and other text where characters cannot always be differentiated without context. Fonts which distinguish glyphs by means of a slashed zero, for example, are preferred for those uses.

The term homograph is sometimes misused synonymously with homoglyph, but in the usual linguistic sense, homographs are words that are spelled the same but have different meanings, a property of words, not characters.

Allographs are typeface design variants that look different but mean the same thing – for example ⟨g⟩ and ⟨g⟩, or a dollar sign with one or two strokes. The term synoglyph has a similar but a little more abstract meaning – for example the symbol ⟨£⟩ and the letter ⟨L⟩ (in Lsd) both mean the pound sterling,[2] but only in that context. Allographs and synoglyphs are also known informally as display variants.

Umlaut and diaresis

In the days of early mechanical typewriters these were typed with the same key (using the "backspace and over-type" technique), which was also used for a double inverted comma. However the umlaut originated specifically as a pair of short vertical lines (not two dots) (see Sutterlin). Incidentally the two dots above the letter E in Albanian are described as a diaresis but do not fulfil the function of a diaresis. [3]

0 and O; 1, l and I

Two common and important sets of homoglyphs in use today are the digit zero and the capital letter O (i.e. 0 and O); and the digit one, the lowercase letter L and the uppercase i (i.e. 1, l and I). In the early days of mechanical typewriters there was very little or no visual difference between these glyphs, and typists treated them interchangeably as keyboarding shortcuts. In fact, most keyboards did not even have a key for the digit "1", requiring users to type the letter "l" instead, and some also omitted 0. As these same typists transitioned in the 1970s and 1980s to being computer keyboard operators, their old keyboarding habits continued with them, and was an occasional source of confusion.

Most current type designs carefully distinguish between these homoglyphs, usually by drawing the digit zero narrower and drawing the digit one with prominent serifs. Early computer print-outs went even further and marked the zero with a slash or dot, which led to a new conflict involving the Scandinavian letter "Ø" and the Greek letter Φ (phi). The redesigning of character types to differentiate these characters has meant less confusion. The degree to which two different characters appear the same to a given observer is called the "visual similarity".[4]

Some type designs conform to the DIN 1450 legibility standard by carefully designing such characters to be easy to distinguish: slashed zero to distinguish it from capital O; lowercase l with a tail and uppercase I with serifs to distinguish it from the digit 1; distinguishing the numeral 5 from the capital S; etc.[5]

An example of confusion due to near-homoglyphs arose from the use of a ⟨y⟩ to represent a ⟨þ⟩ (thorn). Early English typesetters imported Dutch typesets that did not contain the latter character, so used the letter ⟨y⟩ instead because (in Blackletter typeface) they look sufficiently similar.[6] It has led in modern times to such phenomena as Ye olde shoppe, implying incorrectly that the word the was formerly written ye /j/ rather than þe. The spelling of the name Menzies (pronounced Mengis and originally spelled Menȝies) arose for the same reason: the letter ⟨z⟩ was substituted for ⟨ȝ⟩ (yogh).

Multi-letter homoglyphs

Letters m and r+n in typefaces Arial, Calibri, Times New Roman, Cambria, Walbaum-Fraktur, and Comic Sans
Stefan Szczotkowski looks like Aeffan Szczotkowski on the gravestone.

Some other combinations of letters look similar, for instance rn looks similar to m, cl looks similar to d, and vv looks similar to w.

In certain narrow-spaced fonts (such as Tahoma), placing the letter c next to a letter such as j, l or i will create a homoglyph, such as cj cl ci (g d a).

When some characters are placed next to each other, seen together at a glance they give the visual impression of another, unrelated character. A more precise way of saying this is that some typographic ligatures can look similar to standalone glyphs. For example, the ligature (fi) can look similar to A in some typefaces or fonts. This potential for confusion is sometimes an argument made against the use of ligatures.[citation needed]

Unicode homoglyphs

The three most prominent European alphabets (Greek, Cyrillic and Latin) share many letter forms that are encoded in Unicode under separate code points.

Unicode has code points for many strongly homoglyphic characters, known as "confusables".[1] These present security risks in a variety of situations (addressed in UTR#36)[7] and were called to particular attention in regard to internationalized domain names. In theory at least, one might deliberately spoof a domain name by replacing one character with its homoglyph, thus creating a second domain name, not readily distinguishable from the first, that can be exploited in phishing (see main article IDN homograph attack). In many typefaces, the Greek letter 'Α', the Cyrillic letter 'А' and the Latin letter 'A' are visually identical, as are the Latin letter 'a' and the Cyrillic letter 'а' (the same can be applied to the Latin letters "aBceHKopTxy" and the Cyrillic letters "аВсеНКорТху"). A domain name can be spoofed simply by substituting one of these forms for another in a separately registered name. There are also many examples of near-homoglyphs within the same script such as 'í' (with an acute accent) and 'i', É (E-acute) and Ė (E dot above) and È (E-grave), Í (with an acute accent) and ĺ (Lowercase L with acute). When discussing this specific security issue, any two sequences of similar characters may be assessed in terms of its potential to be taken as a 'homoglyph pair', or if the sequences clearly appear to be words, as 'pseudo-homographs' (noting again that these terms may themselves cause confusion in other contexts). In the Chinese language, many simplified Chinese characters are homoglyphs of the corresponding traditional Chinese characters.

Efforts by TLD registries and Web browser designers aim to minimize the risks of homoglyphic confusion. Commonly, this is achieved by prohibiting names which mix character sets from multiple languages (toys-Я-us.org, using the Cyrillic letter Я, would be invalid, but wíkipedia.org and wikipedia.org still exist as different websites); Canada's .ca registry goes one step further by requiring names which differ only in diacritics to have the same owner and same registrar.[8] The handling of Chinese characters varies: in .org and .info registration of one variant renders the other unavailable to anyone, while in .biz the traditional and simplified versions of the same name are delivered as a two-domain bundle which both point to the same domain name server.

Relevant documentation will be found both on the developers' Web sites, and on an IDN Forum[9] provided by ICANN.


In Cyrillic, Cyrillic С not only looks like Latin C, but also occupy the same button in JCUKEN-QWERTY hybrid layout keyboards. This design nuance can be seen on the C/С button represented in Keyboard Monument in Yekaterinburg.

Canonicalization

Homoglyphs of all kinds can be detected through a process called 'dual canonicalization'.[4] The first step in this process is to identify homoglyph sets, namely characters appearing the same to a given observer. From here, a single token is specified to represent the homoglyph set. This token is called a canon. The next step is to convert each character in the text to the corresponding canon in a process called canonicalization. If the canons of two runs of text are the same but the original text is different, then a homoglyph exists in the text.

Homoglyph prevention

Homoglyph attacks can be mitigated through a combination of user awareness and proactive measures. It is crucial to educate users about the risks associated with homoglyph attacks, urging them to meticulously inspect URLs before clicking.[10] Employing advanced security solutions, particularly those capable of scanning for homoglyph variations in domain names, can automate the detection and prevention of potential threats. Additionally, implementing stringent domain name monitoring and registration policies can help identify and neutralize homoglyph-related risks promptly. By fostering a culture of cyber vigilance and leveraging cutting-edge technologies, organizations can fortify their defenses against homoglyph attacks, ensuring a more secure online environment.

See also


References

  1. ^ a b "UTR #36: Unicode Security Considerations". www.unicode.org.
  2. ^ Walton, Chas (October 7, 2020). "A writer's guide to diacritics and special characters". Text Wizard.
  3. ^ Describing these as homoglyphs is questionable as there are probably no languages in which the glyph can fulfil both these roles. It would be just as valid to describe, say, a grave accent as a homoglyph because it fulfils different roles in different languages.
  4. ^ a b Helfrich, James; Neff, Rick (2012). "Dual canonicalization: An answer to the homograph attack". 2012 e Crime Researchers Summit. eCrime Researchers Summit (eCrime), 2012. pp. 1–10. doi:10.1109/eCrime.2012.6489517. ISBN 978-1-4673-2543-1.
  5. ^ Nigel Tao, Chuck Bigelow, and Rob Pike. Go fonts: DIN Legibility Standard". 2016.
  6. ^ Hill, Will (30 June 2020). "Chapter 25: Typography and the printed English text" (PDF). The Routledge Handbook of the English Writing System. Taylor & Francis. p. 6. ISBN 9780367581565. Archived from the original (PDF) on 10 July 2022. Retrieved 24 January 2024. The types used by Caxton and his contemporaries originated in Holland and Belgium, and did not provide for the continuing use of elements of the Old English alphabet such as thorn <þ>, eth <ð>, and yogh <ʒ>. The substitution of visually similar typographic forms has led to some anomalies which persist to this day in the reprinting of archaic texts and the spelling of regional words. The widely misunderstood 'ye' occurs through a habit of printer's usage that originates in Caxton's time, when printers would substitute the <y> (often accompanied by a superscript <e>) in place of the thorn <þ> or the eth <ð>, both of which were used to denote both the voiced and non-voiced sounds, /ð/ and /θ/ (Anderson, D. (1969) The Art of Written Forms. New York: Holt, Rinehart and Winston, p 169)
  7. ^ "UTR #36: Unicode Security Considerations". unicode.org.
  8. ^ "Register a .CA in French!". Archived from the original on 2013-03-28. Retrieved 2013-03-29.
  9. ^ "ICANN Email Archives: [idn-guidelines]". forum.icann.org.
  10. ^ https://governance.dev/phishing-domain-check, accessed on February 12, 2024

Read other articles:

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Philippine presidential line of succession – news · newspapers · books · scholar · JSTOR (September 2020) (Learn how and when to remove this template message) Politics of the Philippines Government Constitution of the Philippines Charter Change Laws Legal codes...

1978 single by The Kinks(Wish I Could Fly Like) SupermanSingle by The Kinksfrom the album Low Budget B-sideLow BudgetReleasedDecember 1978 (UK)[1]26 January 1979 (US)[1]RecordedDecember 1978, Konk StudiosGenreRock, discoLength3:365:57 (12 extended)LabelAristaSongwriter(s)Ray DaviesProducer(s)Ray DaviesThe Kinks UK singles chronology Black Messiah (1978) (Wish I Could Fly Like) Superman (1978) Moving Pictures (1979) The Kinks US singles chronology Live Life(1978) (Wish ...

Wry neck redirects here. For the bird, see Wryneck. Medical conditionTorticollisOther namesCrick in the neck, wry neck, stiff neck, loxia[note 1]The muscles involved with torticollisSpecialtyOrthopedicsDiagnostic methodUltrasonography Torticollis, also known as wry neck, is a painful, dystonic condition defined by an abnormal, asymmetrical head or neck position, which may be due to a variety of causes. The term torticollis is derived from the Latin words tortus, meaning twisted, and c...

Americans of Scottish birth or descent This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Scottish Americans – news · newspapers · books · scholar · JSTOR (November 2023) (Learn how and when to remove this template message) Scottish AmericansAmeireaganaich AlbannachTotal population8,422,613 (3.6%) Scottish alon...

?Carolliinae Carollia brevicauda Біологічна класифікація Домен: Еукаріоти (Eukaryota) Царство: Тварини (Animalia) Тип: Хордові (Chordata) Клас: Ссавці (Mammalia) Ряд: Рукокрилі (Chiroptera) Родина: Листконосові (Phyllostomidae) Підродина: Carolliinae(Miller, 1924) Роди Carollia Rhinophylla Посилання Вікісховище: Carolliinae Віківиди: Carolliinae EOL: 284...

Außenansicht Altar der Gutenkapelle Glocke der Gutenkapelle Die Gutenkapelle ist eine im 20. Jahrhundert errichtete Kapelle in Schönwald im Schwarzwald. Inhaltsverzeichnis 1 Entstehungsgeschichte 2 Ausgestaltung 3 Neuere Geschichte und Nutzung 4 Weblinks 5 Einzelnachweise Entstehungsgeschichte Der Erbauer Engelbert Hummel (* 15. Oktober 1903; † 31. Mai 1978), Bruder des Hofbesitzers Otto Hummel sen., legte vor dem Zweiten Weltkrieg ein Gelübde über den Bau einer Kapelle ab, falls seine ...

American television series For other uses, see The Last Ship. The Last ShipGenre Post-apocalyptic Action drama Created by Hank Steinberg Steven Kane Based onThe Last Shipby William BrinkleyStarring Eric Dane Rhona Mitra Adam Baldwin Charles Parnell Travis Van Winkle Marissa Neitling Christina Elmore Jocko Sims John Pyper-Ferguson Bridget Regan Bren Foster Kevin Michael Martin Emerson Brooks Fay Masterson Jodie Turner-Smith Hiroyuki Sanada Grace Kaufman Theme music composerSteve JablonskyCompo...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (نوفمبر 2019) دوري سورينام لكرة القدم 2015-16 تفاصيل الموسم دوري سورينام لكرة القدم  النسخة 80  البلد سورينام  عدد المشاركين 10   دوري سورينام لكرة القدم 2014-15  دوري...

YapongPertunjukan tari Yapong pada perhelatan Jakarnaval tahun 2014 di JakartaNama asliYapongPenciptaBetawiAsalIndonesia (Jakarta) Tari Yapong adalah suatu tarian semi-tradisional asal pesisir utara Jawa Barat khas etnis Betawi saduran dari Jaipong (tarian tradisional Jawa Barat khas etnis Sunda) yang umumnya dipamerkan sebagai suatu tarian pertunjukan.[1] Dalam perkembangannya, tarian ini sering dijadikan sebagai tari pergaulan untuk mengisi sebuah acara sesuai dengan permintaan kare...

  لمعانٍ أخرى، طالع أستانة (توضيح). آستانا    علم شعار الاسم الرسمي Астана (بالكازاخية والروسية)   الإحداثيات 51°08′00″N 71°26′00″E / 51.133333333333°N 71.433333333333°E / 51.133333333333; 71.433333333333  [1] تاريخ التأسيس 1830  سبب التسمية نور سلطان نزارباييف،  وتسلينا، ...

Upazila in Barisal Division, BangladeshBamna বামনাUpazilaCoordinates: 22°18.1′N 90°6′E / 22.3017°N 90.100°E / 22.3017; 90.100Country BangladeshDivisionBarisal DivisionDistrictBarguna DistrictArea • Total101.05 km2 (39.02 sq mi)Population (2011) • Total79,564 • Density790/km2 (2,000/sq mi)Time zoneUTC+6 (BST)WebsiteOfficial Map of the Bamna Upazila Bamna (Bengali: বামনা) is an ...

For the 1950s company Roller Derby Skate Company, see Roller Derby Skateboard. Roller Derby Skate CorpTypePrivateIndustrySporting & Recreational GoodsFounded1936HeadquartersLitchfield, IllinoisProductsQuad skates, Inline skates, Skating Accessories, Other Sporting GoodsWebsitewww.rollerderby.com Roller Derby Skate Corp is an American manufacturer and distributor of sporting goods, specializing in quad skates, inline skates, ice hockey skates, skateboards, skating accessories, and recently...

This article is part of a series aboutBill Clinton Political positions Electoral history Family Public image Sexual assault and misconduct allegations 40th & 42nd Governor of Arkansas Governorships Gubernatorial elections 1978 1980 1982 1984 1986 1990 42nd President of the United States Presidency timeline Transition Inaugurations first second Policies Economic Gun control Environmental Foreign Clinton Doctrine international trips Appointments Cabinet Judiciary Supreme Court candidates Fi...

Zoo in Miami, Florida, United States Zoo MiamiEntrance from State Road 992.Date opened1948; 75 years ago (1948) (Crandon Park Zoo)July 4, 1980; 43 years ago (1980-07-04) (Miami MetroZoo)[1]LocationMiami-Dade County, Florida, United StatesLand area750 acres (304 ha) (324 acres (131 ha) developed)[2]No. of animals3,000[2]No. of species500[2]Annual visitors1+ million[3]MembershipsAssociation of Zoos and Aquariu...

Salah satu makam di kompleks Taman Pemakaman Umum Petamburan Taman Pemakaman Umum Petamburan atau TPU Petamburan adalah merupakan sebuah permakaman yang terletak di Jalan Aipda Karel Satsuit Tubun, Petamburan, Tanah Abang, Jakarta Pusat. Di Taman Pemakaman Umum ini terdapat mausoleum atau bangunan pelindung makam termegah di Asia Tenggara.[1] Tempat Pemakaman Umum ini sudah ada semenjak masa penjajahan Belanda. Dalam sajak karya pujangga Chairil Anwar yang diresensi oleh Zeffry Alkati...

Para otros usos de este término, véase China (desambiguación). El imperio de la dinastía Qing en 1820, máxima extensión territorial que ha tenido China en su historia. Cambios territoriales en China a través de su historia. Gran China, región de Gran China o, simplemente, China,[1]​[2]​[3]​ es una región cultural que se extiende por gran parte de Asia Oriental, donde se encuentra una de las civilizaciones más antiguas y con mayor población del mundo, organizada en...

Imprint of Marvel Comics that has become defunct since 1995 This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Marvel UK – news · newspapers · books · scholar · JSTOR (April 2023) (Learn how and when to remove this template message) Marvel UKTypePrivateIndustryPublishingGenreScience fiction, action, superheroFo...

International Wrestling Revolution Group event series Máscara Año 2000, Jr., winner of the 2008 Castillo del Terror match. El Castillo del Terror is a professional wrestling event produced and scripted annually by the lucha Libre promotion International Wrestling Revolution Group (IWRG). The event was established in 2000 and is held in November each year in Arena Naucalpan, IWRG's main arena in Naucalpan, State of Mexico. The annual show features the eponymous main event match; a multi-man ...

Novelette by Isaac Asimov Bicentennial Man redirects here. For the film adaptation, see Bicentennial Man (film). This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: The Bicentennial Man – news · newspapers · books · scholar · JSTOR (February 2017) (Learn how and when to remove this template message) The Bicenten...

Stasiun Saku-Uminokuchi佐久海ノ口駅Stasiun Saku-Uminokuchi, Maret 2013Lokasi975 Uminokuchi, Minamimaki-mura, Minamisaku-gun, Nagano-ken 384-1302 JepangKoordinat36°01′16″N 138°29′27″E / 36.0212°N 138.4908°E / 36.0212; 138.4908Koordinat: 36°01′16″N 138°29′27″E / 36.0212°N 138.4908°E / 36.0212; 138.4908Ketinggian1064 meter[1]Pengelola JR EastJalur■ Jalur KoumiLetak dari pangkal39.7 km dari KobuchizawaJum...