# Combining character

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Combining_character
> Markdown URL: https://mediated.wiki/source/Combining_character.md
> Source: https://en.wikipedia.org/wiki/Combining_character
> Source revision: 1346203682
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{short description|Non-spacing character that modifies another character}}
{{Distinguish|Spacing Modifier Letters}}
[[File:U nieskładovaje Unicode.svg|thumb|class=skin-invert-image|[Cyrillic U](/source/U_(Cyrillic)) combined with [breve](/source/breve) gives [ў](/source/Short_U_(Cyrillic)).]]
{{Contains special characters}}

In [digital typography](/source/digital_typography), '''combining characters''' are [characters](/source/Character_(computing)) that are intended to modify other characters. The most common combining characters in the Latin script are the '''combining [diacritical marks](/source/diacritic)''' (including '''combining accents'''). 

[Unicode](/source/Unicode) also contains many [precomposed character](/source/precomposed_character)s, so that in many cases it is possible to use both combining diacritics and precomposed characters, at the user's or application's choice. This leads to a requirement to perform [Unicode normalization](/source/Unicode_normalization) before comparing two Unicode strings and to carefully design encoding converters to correctly map all of the valid ways to represent a character in Unicode to a legacy encoding to avoid data loss.<ref>For example, when converting between [windows-1258](/source/windows-1258) and [VISCII](/source/VISCII), the former uses combining diacritics whilst the latter has a large selection of precomposed characters so a converter using a simple mapping between code values and Unicode code points will corrupt text when converting between them.</ref>

In Unicode, the main block of combining diacritics for European languages and the [International Phonetic Alphabet](/source/International_Phonetic_Alphabet) is U+0300–U+036F. Combining diacritical marks are also present in many other blocks of Unicode characters. In Unicode, diacritics are always added after the main character (in contrast to some older combining character sets such as [ANSEL](/source/ANSEL)), and it is possible to add several diacritics to the same character, including stacked diacritics above and below, though some systems may not render these well.

==Unicode ranges==
{{Main | Combining Diacritical Marks | Combining Diacritical Marks Extended | Combining Diacritical Marks Supplement | Combining Diacritical Marks for Symbols | Combining Half Marks | l1 = Combining Diacritical Marks (Unicode block) | l2 = Combining Diacritical Marks Extended (Unicode block) | l3 = Combining Diacritical Marks Supplement (Unicode block) | l4 = Combining Diacritical Marks for Symbols (Unicode block) | l5 = Combining Half Marks (Unicode block)|Cyrillic Extended-A}}

The following blocks are dedicated specifically to combining characters:

*Combining Diacritical Marks (0300–036F), since version 1.0, with modifications in subsequent versions down to 4.1
*Combining Diacritical Marks Extended (1AB0–1AFF), version 7.0
*Combining Diacritical Marks Supplement (1DC0–1DFF), versions 4.1 to 5.2
*Combining Diacritical Marks for Symbols (20D0–20FF), since version 1.0, with modifications in subsequent versions down to 5.1
*Cyrillic Extended-A (2DE0–2DFF), version 5.1
*Combining Half Marks (FE20–FE2F), versions 1.0, with modifications in subsequent versions down to 8.0

Combining characters are not limited to these blocks; for instance, the combining [dakuten](/source/dakuten) (U+3099) and combining [handakuten](/source/handakuten) (U+309A) are in the [Hiragana block](/source/Hiragana_(Unicode_block)), the [Devanagari](/source/Devanagari_(Unicode_block)) block contains combining vowel signs and other marks for use with that script, and so forth. Combining characters are assigned the [Unicode major category](/source/Unicode_character_property) "M" ("Mark").

=== Combining Diacritical Marks (0300–036F) ===
{{Unicode chart Combining Diacritical Marks}}

Codepoints U+032A and U+0346&ndash;034A are [IPA](/source/International_Phonetic_Alphabet) symbols:
* U+032A&nbsp;{{IPA|◌&#810;}}: [dental](/source/Dental_consonant)
* U+0346&nbsp;{{IPA|◌͆}}: [dentolabial](/source/Dentolabial_consonant)
* U+0347&nbsp;{{IPA|◌͇}}: [alveolar](/source/Alveolar_consonant)
* U+0348&nbsp;{{IPA|◌͈}}: strong [articulation](/source/Manner_of_articulation)
* U+0349&nbsp;{{IPA|◌͉}}: weak articulation
* U+034A&nbsp;{{IPA|◌͊}}: [denasal](/source/denasal)

Codepoints U+034B&ndash;034E are IPA diacritics for [disordered speech](/source/disordered_speech):
* U+034B&nbsp;{{IPA|◌͋}}: nasal escape
* U+034C&nbsp;{{IPA|◌͌}}: velopharyngeal friction
* U+034D&nbsp;{{IPA|◌͍}}: labial spreading
* U+034E&nbsp;{{IPA|◌͎}}: whistled articulation

U+034F is the "[combining grapheme joiner](/source/combining_grapheme_joiner)" (CGJ) and has no visible glyph.

Codepoints U+035C&ndash;0362 are [double diacritics](/source/Diacritics), diacritic signs placed across two letters.

Codepoints U+0363&ndash;036F are medieval superscript letter diacritics, letters written directly above other letters appearing in medieval Germanic manuscripts, but in some instances in use until as late as the 19th century. For example, U+0364 is an ''e'' written above the preceding letter, to be used for ([Early](/source/Early_New_High_German)) [New High German](/source/New_High_German) [umlaut](/source/Umlaut_(diacritic)) notation, such as ''uͤ'' for Modern German ''ü''.

=== Combining Diacritical Marks Extended (1AB0–1AFF) ===
{{Unicode chart Combining Diacritical Marks Extended}}

=== Combining Diacritical Marks Supplement (1DC0–1DFF) ===
{{Unicode chart Combining Diacritical Marks Supplement}}

=== Combining Diacritical Marks for Symbols (20D0–20FF) ===
{{Unicode chart Combining Diacritical Marks for Symbols}}

=== Combining Half Marks (FE20–FE2F) ===
{{Unicode chart Combining Half Marks}}

==OpenType==
[OpenType](/source/OpenType) has the ''ccmp'' "feature tag" to define glyphs that are compositions or decompositions involving combining characters, the ''mark'' tag to define the positioning of combining characters onto base glyph, and ''mkmk'' for the positionings of combining characters onto each other.

==Zalgo text==
<!--Please do not add any examples here, unless in the form of a screenshot, as the text can cause various problems with: viewing, layout, accessibility, editing, etc.-->
{{main article|Zalgo text}}

thumb|class=skin-invert-image|A sentence of Zalgo text 
Combining characters have been used to create [Zalgo text](/source/Zalgo_text), which is text that appears "corrupted" or "creepy" due to an overuse of combining characters. This causes the text to extend vertically, overlapping other text.<ref>{{cite web |title=How does Zalgo text work? |url=https://stackoverflow.com/a/20310289/3312910 |last=Korpela |first=Jukka K. |website=Stack Overflow |access-date=11 April 2019}}</ref> This is mostly used in horror contexts on the [Internet](/source/Internet). It is typically very challenging for most [software](/source/software) to render, so the combining marks are often reduced or completely stripped off.

==See also==
* [Dotted circle](/source/Dotted_circle)
* [Dead key](/source/Dead_key)
* [Spacing Modifier Letters](/source/Spacing_Modifier_Letters) which shouldn't combine (although they do erroneously on some implementations where a developer has confused "combining" with "modifier")

==Notes==
{{Reflist}}

==External links==
* [https://www.unicode.org/charts/PDF/U0300.pdf Combining diacritics chart] (in Adobe [PDF](/source/Portable_Document_Format) format)
* [https://www.unicode.org/charts/PDF/U1DC0.pdf Combining diacritics supplement chart] (in Adobe [PDF](/source/Portable_Document_Format) format)
* [https://web.archive.org/web/20210211080236/http://www.user.uni-hannover.de/nhtcapri/combining-marks.html Combining marks] test page facing combined and precomposed letters
* [http://www.alanwood.net/unicode/combining_diacritical_marks.html Alan Wood’s Unicode Resources]
* [https://web.archive.org/web/20070520042623/http://www.decodeunicode.org/index.php?nodeId=70007&page=1&lang=1 DecodeUnicode.org combining diacritical marks reference]
{{Unicode navigation}}

Category:Unicode special code points

---
Adapted from the Wikipedia article [Combining character](https://en.wikipedia.org/wiki/Combining_character) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Combining_character?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
