README.md in active_report-5.3.0 vs README.md in active_report-5.4.0
- old
+ new
@@ -35,10 +35,10 @@
`../config/initalizers/active_report.rb`
```ruby
ActiveReport.configure do |config|
config.csv_force_encoding = true
- config.csv_options = { encoding: 'UTF-8' }
+ config.csv_options = { external_encoding: 'ISO-8859-1', internal_encoding: 'UTF-8' }
config.import_adapter = 'mysql2_adapter'
config.import_options = { validate: false, on_duplicate_key_ignore: true }
end
```