- Type:
string
- Default:
""
- Scope:
settings
keepDiacriticsOnCharacters
parameter lets you preserve specific characters with diacritics.
By default, Algolia removes diacritics: "é"
becomes "e"
, "ø"
becomes "o"
, and "で"
becomes "て"
.
Use this setting to protect selected characters from being transformed.
Usage
- Only lowercase characters are accepted.
For example, to preserve both
"ø"
and"Ø"
, include only"ø"
. - Only characters that are normally transformed are allowed.
Characters without diacritics, such as
"o"
, are not valid. - This does not affect characters built from combining marks.
For example:
ü
(U+00FC) can be preserved.ü
(U+0075 + U+0308) will still be normalized.
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients