dundalek / latinize

Simple library to convert accents (diacritics) from strings to latin characters.
BSD 2-Clause "Simplified" License
148 stars 33 forks source link

Please add support for Ukrainian letter `є` #22

Open ptyskju opened 2 months ago

ptyskju commented 2 months ago

Hi! Latinize does not change letter є in provided string. Example:

const str = "Хвацький юшковар Філіп щодня на ґанку готує сім'ї вечерю з жаб.";

console.log(str);
// result: Hvats'kii yushkovar Filip schodnya na ganku gotuє sim'yi vecheryu z zhab.

In word gotuє stays letter є and should be ye. So expected result should be Hvats'kii yushkovar Filip schodnya na ganku gotuye sim'yi vecheryu z zhab.

Details from Wikipedia: https://en.wikipedia.org/wiki/Ukrainian_Ye