Zero-width_joiner

Zero-width joiner

Zero-width joiner

Non-printing character used in computerized typesetting


The zero-width joiner (ZWJ, /ˈzwɪ/)[1] (‍) is a non-printing character used in the computerized typesetting of writing systems in which the shape or positioning of a grapheme depends on its relation to other graphemes (complex scripts), such as the Arabic script or any Indic script. Sometimes the 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.

ISO keyboard symbol for ZWJ

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 conjuncts in Sinhala (which does not use them by default).[2] 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.[3]

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.

The character's code point is U+200D ZERO WIDTH JOINER (‍). In the InScript keyboard layout for Indian languages, it is typed by the key combination Ctrl+Shift+1. However, many layouts use the position of QWERTY's ']' key for this character.[4]

Examples

Use of ZWNJ and ZWJ to select alternative forms of Devanagari, Tamil, Kannada, Sinhala and emoji.
More information Character sequence, Appearance ...
More information Character sequence, Appearance ...
More information Character sequence, Appearance ...
More information Character sequence, Appearance ...
More information Character sequence, Appearance ...
More information Character sequence, Appearance ...

See also


References

  1. "113 New Unicode Emoji (plus skin tones)". Unicode Blog. 2016-11-28. Retrieved 2021-01-14.
  2. "Zero Width Joiner". Emojipedia. Retrieved 2015-09-21.
  3. "ചിത്രം:Inscript.jpg – Malayalam Computing" (in Malayalam). Malayalam.kerala.gov.in. Archived from the original on 2011-10-11. Retrieved 2011-10-22.
  4. "Changes related to Malayalam in Unicode 5.1.0 from 5.0" (PDF). Unicode.org. Retrieved 2015-06-12.

Share this article:

This article uses material from the Wikipedia article Zero-width_joiner, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.