I've been fighting these problems since I moved to Ruby 1.9. I am now
using Ruby 1.9.2 with Rails 2.3.11 and I am still having problems. The
symptom is errors with this message:
(incompatible character encodings: UTF-8 and ISO-8859-1)
I've marked all my files with:
# -*- coding: utf-8 -*-
and I've tried doing everything I can to try and get everything to be
UTF-8 but I still have other character sets -- sometimes ISO-8859-1 as
in this case, other ties it is ASCII-8BIT. These errors usually happen
in the views as the various parts are being concatenated together.
I need a general approach to these problems. They are killing me and
there doesn't seem to be a clear way to deal with them.