Skip to content

Ruby 2.7.1 - ArgumentError: unknown encoding name - UTF-8:UTF-8 #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scottbarrow opened this issue Jul 31, 2020 · 2 comments
Closed

Comments

@scottbarrow
Copy link

Hey Philippe
Ruby 2.7.1 is creating an exception on calling header
ArgumentError: unknown encoding name - UTF-8:UTF-8 with the default encoding.
set here

attribute :encoding, String, default: 'UTF-8:UTF-8'

Passing encoding: 'UTF-8' to the initializer is a workaround

also, csv-importer-0.7.0/lib/csv_importer/csv_reader.rb:49: warning: Using the last argument as keyword parameters is deprecated (kwargs change in 2.7)

@scottbarrow scottbarrow changed the title Ruby 2.7.1 Ruby 2.7.1 - ArgumentError: unknown encoding name - UTF-8:UTF-8 Jul 31, 2020
@pcreux
Copy link
Owner

pcreux commented Jul 31, 2020

Thank you for reporting that. I'm not sure when I'll get a chance to look into it. Let be know if it's blocking you. PRs are always welcome. 🙃

@pcreux
Copy link
Owner

pcreux commented Sep 9, 2020

Fixed by #93

@pcreux pcreux closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants