# File lib/active_support/multibyte/handlers/utf8_handler.rb, line 381 def u_unpack(str) begin str.unpack 'U*' rescue ArgumentError raise EncodingError.new('malformed UTF-8 character') end end