module ActiveSupport::Multibyte::Unicode

def recode_windows1252_chars(string)

def recode_windows1252_chars(string)
  string.encode(Encoding::UTF_8, Encoding::Windows_1252, invalid: :replace, undef: :replace)
end