On Sep 6, 6:19 pm, Perry Smith wrote:
> 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 ma
Perry Smith wrote in post #1020442:
> 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
Hi Perry,
I've run into such encoding issues under ruby 1.9.x and rails 3.x when
dealing with unknown/untrusted/bad non-utf8 data params that need to
be handled by the rails app as utf-8.
The fix I found (that works for the needs of my apps) was by following
a strategy outlined by Paul Battley (h
Yes, I understand Ruby's encodings. That isn't my question.
My question is what is a good consistent way to deal with the in Rails
given that the input may be any language, you do not have control over
the various source files in the gems, etc.
i.e. since the rails files do not have the UTF-8
4 matches
Mail list logo