Be able to use String#blank? with invalid encoding by purintai · Pull Request #26841 · rails/rails

Summary Should be able to call String#blank? against invalid encoding String object. Regexp.match will raise ArgumentError if passed invalid encoding strings. I thought if the string including inva...