Template:StripAccents

From ChoralWiki
Jump to: navigation, search

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 conjuction with template NameSorter in order to generate appropriate sort keys.