mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 21:49:06 +02:00
prepare Unicode normalization for Unicode 16.0.0
This commit is contained in:
parent
ab22f3910d
commit
900ece77b2
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue