5 515
contributi
Modifiche
nessun oggetto della modifica
if mw.ustring.find(word,"â") then
word = mw.ustring.toNFC(word)
--sč â at the end of a word is /ʃæ/
word = word:gsub("â","æ")
end
if mw.ustring.find(word,"ğ") then
word = mw.ustring.toNFC(word)
--ğ at the end of a word is /ʤ/
word = word:gsub("â","ʤ")
end
-- Decompose combining characters: for instance, è → e + ◌̀
local decomposed = mw.ustring.toNFD(word)