verify(string)
Verifies the encoding of a string
# File activesupport/lib/active_support/multibyte/utils.rb, line 22 def self.verify(string) string.valid_encoding? end