diff --git a/locale/hbs/script.ts b/locale/hbs/script.ts index 6ac23c35c..790d673d6 100644 --- a/locale/hbs/script.ts +++ b/locale/hbs/script.ts @@ -67,6 +67,8 @@ export const hbsLatinToCyrillic = (str: string): string => { let result = ''; let i = 0; + str = str.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); + while (i < str.length) { if (i + 1 < str.length) { // check for digraphs