From 1a896d7f88c19c2b698b091069f69360463abfeb Mon Sep 17 00:00:00 2001 From: Alexandre De Pablo Date: Wed, 26 Aug 2020 11:23:14 +0200 Subject: [PATCH] Fix encoding on CSV stock import --- app/concepts/files/helper/csv_reader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/concepts/files/helper/csv_reader.rb b/app/concepts/files/helper/csv_reader.rb index 76c55113..3db81e82 100644 --- a/app/concepts/files/helper/csv_reader.rb +++ b/app/concepts/files/helper/csv_reader.rb @@ -32,7 +32,7 @@ def options ], col_sep: ',', row_sep: "\n", - file_encoding: 'UTF-8' + force_utf8: true } end # rubocop:enable Metrics/MethodLength