yeah this is actually in a view that the error is occurring. I have
tried to put this encoding statement in the view
but to no avail. hopefully someone has had this problem and can
instruct me . It seems
like this would be a common error.
On Dec 29, 3:30 pm, Javier Quarite <jquari...@gmail.com> wrote:
> On Thu, Dec 29, 2011 at 6:19 PM, gerbdla <gerb...@gmail.com> wrote:
> > This is the full error anyone else having this issue?
>
> > incompatible character encodings: UTF-8 and ASCII-8BIT
> > activesupport (3.0.9) lib/active_support/core_ext/string/
> > output_safety.rb:82:in `concat'
>
> Well I'm not having the same issue, but when I wanted to create a csv file
> in my controller and one of the cells contains
> this -> ` rails is expecting something else, so I just add at the
> beggining of my controller the following
>
> #encoding: utf8
>
> and worked, maybe it helps
>
> Javier
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment