View Source z_string_normalize (zotonic_stdlib v1.26.1)

String normalization, used for search indices. Takes a string, lowercases it and then transliterates to ASCII.

Summary

Functions

Transliterate an unicode string to an ascii string with lowercase characters. Tries to transliterate some characters to a..z

Functions

normalize(A)

-spec normalize(string() | binary() | atom() | {trans, list()} | undefined) -> binary().

Transliterate an unicode string to an ascii string with lowercase characters. Tries to transliterate some characters to a..z