salesking/CSV-Import — Issue #14: invalid byte sequence in UTF-8
Author: vijendra
Created: 2012-01-26 07:24:51+00:00
State: open

When trying to create mapping for google.csv (Gmail contacts exported), got this error. Possible duplicate of isse #1

ArgumentError in Mappings#new

Showing /home/vijendra/Desktop/CSV-Import/app/views/mappings/new.html.haml where line #10 raised:

invalid byte sequence in UTF-8
Extracted source (around line #10):

7: %label= t('mappings.source_fields')
8: .input
9: %ul#source-fields
10: - @attachment.rows(1).first.each_with_index do |item, index|
11: %li.field{'data-name' => item, 'data-source' => index}= item
12: .clearfix
13: %p= t('mappings.dnd_info')
Rails.root: /home/vijendra/Desktop/CSV-Import