Is there any solution for (ActionView::TemplateError) "invalid byte sequence in US-ASCII" error in Ruby 1.9.3?

46 Views Asked by At

Recently, I migrated my Ruby apps 1.8.7 to Ruby 1.9.3. After the migration, I am getting an error message called invalid byte sequence in US-ASCII. Many of them are solved by putting #encoding: utf-8 on top of the controller. But I am still getting errors on various ERB files. What is the solution for this error? My app contains Swedish Font.

0

There are 0 best solutions below