g_pack(unpacked)
Reverse operation of g_unpack.
Example:
Chars.g_pack(Chars.g_unpack('à¤à¥à¤·à¤¿')) #=> 'à¤à¥à¤·à¤¿'
# File activesupport/lib/active_support/multibyte/chars.rb, line 527 def g_pack(unpacked) (unpacked.flatten).pack('U*') end