Skip to content
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

Encoding::UndefinedConversionError ("\x9F" from ASCII-8BIT to UTF-8): #75

Open
kuzevanoff opened this issue May 25, 2020 · 3 comments · May be fixed by #78
Open

Encoding::UndefinedConversionError ("\x9F" from ASCII-8BIT to UTF-8): #75

kuzevanoff opened this issue May 25, 2020 · 3 comments · May be fixed by #78

Comments

@kuzevanoff
Copy link

kuzevanoff commented May 25, 2020

Hi, I've got this error:

Encoding::UndefinedConversionError ("\x9F" from ASCII-8BIT to UTF-8):

passbook = Passbook::PKPass.new json passbook.addFiles [Rails.root.join('certificates/icon.png'), Rails.root.join('certificates/icon@2x.png')] gen_pass = passbook.file send_file(gen_pass.path, type: 'application/vnd.apple.pkpass', disposition: 'attachment', filename: "pass.pkpass")

What I do wrong?
Rais 6, ruby 2.7.1

@alexdunae
Copy link

I'm encountering this too. I think it's related to Ruby 2.7.1

This thread seems to diagnose it pretty thoroughly and links to a confirmed bug in Ruby 2.7.

I haven't found a resolution yet, but thought I'd leave those here for now.

@mbajur
Copy link

mbajur commented Aug 18, 2020

clutch-holdings@1a7c42b

^ this fork fixes that issue for me

@orest-kostiuk
Copy link

Found somebody solution?

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

Successfully merging a pull request may close this issue.

4 participants