Rails Import CSV Error: invalid byte sequence in UTF-8 – SEO
I'm getting the error invalid byte sequence in UTF-8 when trying to import a CSV file in my Rails application. Everything was working fine until I added a gsub method to compare one of the CSV columns to a field…