i think the diacritics package does not work that well in non latin languages ( i.e Greek ), something that would work could be
normalizing the string like str.normalize("NFD") and then replacing the diacritics with a .replace(/[\u0300-\u036f]/g, "")
Hi Albert,
i think the diacritics package does not work that well in non latin languages ( i.e Greek ), something that would work could be normalizing the string like
str.normalize("NFD")
and then replacing the diacritics with a.replace(/[\u0300-\u036f]/g, "")
how does that sound ?