User:CHGiffen/StripAccents
Jump to navigation
Jump to search
New Code, uses Replaceset:
Removes all diacritics from a text or name
Usage:
- {{StripAccents|Antonín Dvořák}} returns "Antonin Dvorak "
- {{StripAccents|Gegrüßet, Maria}} returns "Gegrusset, Maria " (not "Gegruesset", for proper sorting)
It is meant to be used in conjunction with template NameSorter in order to generate appropriate sort keys.