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

Collection posters cannot have filenames with UTF-8 characters #5027

Closed
cjcolvar opened this issue Jan 9, 2023 · 2 comments
Closed

Collection posters cannot have filenames with UTF-8 characters #5027

cjcolvar opened this issue Jan 9, 2023 · 2 comments
Labels

Comments

@cjcolvar
Copy link
Member

cjcolvar commented Jan 9, 2023

Steps to reproduce:

  1. Create a collection
  2. Click Upload Poster
  3. Choose a image file with a filename with UTF-8 characters (e.g. きた!.jpg)

Expected Behavior

Image file should be uploaded and stored as the collection poster image

Actual Behavior

Avalon raises an error: incompatible character encodings: ASCII-8BIT and UTF-8

image

@joncameron joncameron added the bug label Jan 20, 2023
@joncameron
Copy link
Contributor

Notes: Active Storage was fine, but the reading back and rendering of the file is most likely the issue here.

@joncameron
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants