RemoveDiacritics

RemoveDiacritics[string]

replaces characters in string that have diacritics by their base ASCII characters, when possible.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Remove diacritic marks from a character:

Normalize an entire string:

Scope  (2)

RemoveDiacritics automatically threads over lists:

RemoveDiacritics works on strings of different scripts:

Options  (2)

Language  (2)

With Languagelang, RemoveDiacritics will not remove diacritics that are part of the basic alphabet of lang:

By default, Language option is set to $Language. Changing it has the same effect as setting the option:

Properties & Relations  (2)

For a specified language, applying RemoveDiacritics to the result of Alphabet should return the same list of letters:

Using AlphabeticOrder with IgnoreDiacritics->True is equivalent to using AlphabeticOrder after applying RemoveDiacritics:

Possible Issues  (1)

RemoveDiacritics breaks ligatures in basic ASCII characters when the ligature is not part of the language:

If it is part of the basic alphabet of the language, it only removes the diacritics:

Introduced in 2015
 (10.1)
 |
Updated in 2015
 (10.3)