Ruby on Rails Thursday, December 29, 2011



On Thu, Dec 29, 2011 at 6:19 PM, gerbdla <gerbdla@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