Zero-width joiner: Difference between revisions

Content deleted Content added
m Reverted 1 edit by 180.244.139.96 (talk) to last revision by Derpyhoi
No edit summary
Line 5:
The '''zero-width joiner''' ('''ZWJ''', {{IPAc-en|'|z|w|ɪ|dʒ}})<ref>{{Cite web|last=|first=|date=2016-11-28|title=113 New Unicode Emoji (plus skin tones)|url=http://blog.unicode.org/2016/11/113-new-unicode-emoji-plus-skin-tones.html|access-date=2021-01-14|website=Unicode Blog}}</ref> {{Not a typo|('''&amp;#8205;''')}} is a [[non-printing character]] used in the computerized [[typesetting]] of [[writing system]]s in which the shape or positioning of a [[grapheme]] depends on its relation to other graphemes ([[complex script]]s), such as the [[Arabic script]] or any [[Indic script]]. Sometimes the [[Latin script|Roman script]] is to be counted as complex, e.g. when using a [[Fraktur]] typeface. When placed between two characters that would otherwise not be connected, a ZWJ causes them to be printed in their connected forms.
 
The exact behaviour of the ZWJ varies depending on whether the use of a [[conjunct consonant]] or ligature (where multiple characters are shown with a single [[glyph]]) is expected by default; for instance, it suppresses the use of conjuncts in [[Devanagari]] (whilst still allowing the use of the individual joining form of a dead consonant, as opposed to a [[halant]] form as would be required by the [[zero-width non-joiner]]), but induces the use of [[Sinhala script#Consonant conjuncts|conjuncts in Sinhala]] (which does not use them by default).<ref>{{cite web| url=http://unicode.org/review/pr-37.pdf |title=Proposal on Clarification and Consolidation of the Function of ZERO WIDTH JOINER in Indic Scripts |id=[[Unicode Technical Committee|UTC]] [[INCITS|L2]]/04-279, Public Review Issue #37 |date=2004-06-30 |first=Peter |last=Constable |publisher=[[Unicode Consortium]]}}</ref> Similarly to Sinhala, when a ZWJ is placed between two [[emoji]] characters (or interspersed between multiple), it can result in a single glyph being shown, such as the family emoji, made up of two adult emoji and one or two child emoji.<ref>{{cite web|url=http://emojipedia.org/zero-width-joiner/ |title=Zero Width Joiner |language=en |publisher=[[Emojipedia]] |access-date=2015-09-21}}</ref>
 
In some cases, such as the second Devanagari example below, the ZWJ can be used to display a joining form in isolation, when included after the character and combining halant code.