lib/active_support/multibyte/unicode.rb in activesupport-6.0.2.2 vs lib/active_support/multibyte/unicode.rb in activesupport-6.0.3.rc1
- old
+ new
@@ -146,10 +146,9 @@
string.send(method)
end
end
private
-
def recode_windows1252_chars(string)
string.encode(Encoding::UTF_8, Encoding::Windows_1252, invalid: :replace, undef: :replace)
end
end
end