NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
Adds a function for removing diacritics from letters in a string. (For example: è,é => e and à,á => a) This is very useful when diacritics cannot (or should not) be used. (Like in URL:s)
function removeDiacritics (string) { }
Usage:
var raw = 'Déjà vu';
var cleaned = removeDiacritics (raw);
console.log (cleaned); // => "Deja vu"
Rating: 0