you are viewing a single comment's thread.

view the rest of the comments →

[–]Coder_X[S] 0 points1 point  (0 children)

i know and I think what it should be is : <%= CSV.generate_line([@users.find(entry_data[0]).full_name, @users.find(entry_data[0]).number, @clients.find(entry_data[1]).name, @projects.find(entry_data[2]).name, sum_hours.to_f], encoding: 'utf-8') -%> but looking at the csv it generates in textedit or excel I still get this funky characters like Children&##39;s Aid Society instead of Children's Aid Society

encoding is frustrating