method
tidy_bytes
rails latest stable - Class:
ActiveSupport::Multibyte::Handlers::UTF8Handler
tidy_bytes(str)public
Replaces all the non-utf-8 bytes by their iso-8859-1 or cp1252 equivalent resulting in a valid utf-8 string
tidy_bytes(str)Replaces all the non-utf-8 bytes by their iso-8859-1 or cp1252 equivalent resulting in a valid utf-8 string