jdriscoll/django-imagekit — Issue #116: Image files with locale data break upload/site.
Author: jmichelsen
Created: 2012-03-06 23:19:38+00:00
State: open

I'm kinda new to ImageKit so bear with me.

We have a site that allows images to uploaded and displayed on the site. We somehow gained a large following of people from Brazil. Many of the image files they upload contain accent characters in the file name. ImageKit seems to upload them fine but I don't see a way to filter these names out or have ImageKit automatically strip the accents and rename the file. When the rest of the site tries to use an image with an accent character, it breaks entirely, throwing errors about not being able to read the non utf8 characters.

I know this problem encompasses more than ImageKit, but wonder if I missed something about the upload process. Can ImageKit filter these names and rename them?