prepare Unicode normalization for Unicode 16.0.0

This commit is contained in:
Martin Dürst 2025-04-18 16:03:30 +09:00
parent ab22f3910d
commit 900ece77b2
2 changed files with 12 additions and 0 deletions

View file

@ -114,6 +114,7 @@ module UnicodeNormalize # :nodoc:
last_class = accent_class
end
end
accents = nfc_one(accents) if accents.length>1 # TODO: change from recursion to loop
hangul_comp_one(start+accents)
end