Method: ActiveSupport::Multibyte::Unicode#compose
- Defined in:
- activesupport/lib/active_support/multibyte/unicode.rb
#compose(codepoints) ⇒ Object
Compose decomposed characters to the composed form.
21 22 23 |
# File 'activesupport/lib/active_support/multibyte/unicode.rb', line 21 def compose(codepoints) codepoints.pack("U*").unicode_normalize(:nfc).codepoints end |