instance method
compose
Ruby on Rails 7.1.6
Since v4.0.13Signature
compose(codepoints)
Compose decomposed characters to the composed form.
Parameters
-
codepointsreq
Source
# File activesupport/lib/active_support/multibyte/unicode.rb, line 21
def compose(codepoints)
codepoints.pack("U*").unicode_normalize(:nfc).codepoints
end
Defined in activesupport/lib/active_support/multibyte/unicode.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Multibyte::Unicode