casefold
Casefold is a process used to convert text into a form that can be compared in a case-insensitive way. It is based on Unicode case folding and is intended for caseless matching across different scripts and languages. Case folding is more expansive than simple lowercasing, because it may map certain characters to multiple code points or expand ligatures into their component letters.
In programming, casefolding is typically exposed as a function or method that returns the folded form of
Examples illustrate its behavior but are not meant to preserve the original appearance of text. For instance,
Applications include search, matching, and normalization tasks where case should be ignored. Casefolding is designed for
See also: Unicode Case Folding, Unicode Standard, Unicode Technical Standard UAX 21.