In my rails application I have upgraded in the past from rails 3.0 to rails 3.1, now I am getting multiple languages stored in my DB and have ran into :
ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
so spanish look like this: "TU SERER QUERIDOS ESTRA\xC3\x83\xC2\xB1AN TU PRECENSIA,"
So what would be a good method to get the data to save as UTF-8? and not kill my views? (I think I only have around 40 of these errors right now, so deleting and reinputing the data is not to bad.
I am also running mysql gem and not mysql2 gem, which I read somewhere, but when trying to install that gem the application blows up. So a easy work around would be deeply appreciated.