Is there any options for encoding?
I don't seem to be able to find this in the documentation.
Like in Rails CSV importer
CSV.foreach(file.path, headers: true, encoding: 'iso-8859-1:utf-8') do |row|
# your code here
end
Cause I'm having a trouble handling error in encoding when user uploads csv file.
For a word like this: test¶ØÜó??test.
Thanks before.
Is there any options for encoding?
I don't seem to be able to find this in the documentation.
Like in Rails CSV importer
Cause I'm having a trouble handling error in encoding when user uploads csv file.
For a word like this: test¶ØÜó??test.
Thanks before.