# File lib/active_support/multibyte/handlers/utf8_handler.rb, line 129 def insert(str, offset, fragment) str.replace( u_unpack(str).insert( offset, u_unpack(fragment) ).flatten.pack('U*') ) end