[GH-ISSUE #188] Upload of filenames containing accents not working #150

Closed
opened 2026-02-25 21:31:18 +03:00 by kerem · 8 comments
Owner

Originally created by @Goliath67 on GitHub (Oct 22, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/188

Originally assigned to: @ciur on GitHub.

I would think this problem is papermerge rather than the docker image so I am submitting the issue here

Description
I am living in France so many filenames use é, è, à etc as accented characters.
Files are not uploaded if the filename contains accented characters.
Is this related to the use of SQLite (default) or other?

Info:

  • OS: [e.g. Synology NAS DSM with Docker image]
  • Browser [chrome, firefox]
  • Database [SQLite]
  • Papermerge Version [1.5.0]
Originally created by @Goliath67 on GitHub (Oct 22, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/188 Originally assigned to: @ciur on GitHub. I would think this problem is papermerge rather than the docker image so I am submitting the issue here **Description** I am living in France so many filenames use é, è, à etc as accented characters. Files are not uploaded if the filename contains accented characters. Is this related to the use of SQLite (default) or other? **Info:** - OS: [e.g. Synology NAS DSM with Docker image] - Browser [chrome, firefox] - Database [SQLite] - Papermerge Version [1.5.0]
kerem 2026-02-25 21:31:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ciur commented on GitHub (Oct 23, 2020):

Hi @Goliath67, thank you for opening this issue.
Application definitely works with Russian cyrillic and I saw it managed to upload (on demo site) even filenames with Japanese characters - thus it sounds unlikely to have a problem specifically with french accented characters.
I would help to investigate your issue if you can mention filename or (even better) a sample of problematic file.

<!-- gh-comment-id:714913408 --> @ciur commented on GitHub (Oct 23, 2020): Hi @Goliath67, thank you for opening this issue. Application definitely works with Russian cyrillic and I saw it managed to upload (on demo site) even filenames with Japanese characters - thus it sounds unlikely to have a problem specifically with french accented characters. I would help to investigate your issue if you can mention filename or (even better) a sample of problematic file.
Author
Owner

@Goliath67 commented on GitHub (Oct 23, 2020):

Hi,
I just tried uploading the file to the demo website and it does indeed work correctly!
So would it be a problem because of using SQLite (default install) rather than MariaDB?
Or is it a problem I should rather transfer to the docker image github page?

<!-- gh-comment-id:715092487 --> @Goliath67 commented on GitHub (Oct 23, 2020): Hi, I just tried uploading the file to the demo website and it does indeed work correctly! So would it be a problem because of using SQLite (default install) rather than MariaDB? Or is it a problem I should rather transfer to the docker image github page?
Author
Owner

@ciur commented on GitHub (Oct 23, 2020):

SQLite by default works with character UTF-8 encodings as expected (i.e. works with french é, è, à characters).
My suggestion is to open a bug to whatever docker image provider you use (or whomever packages Papermerge application for you).

<!-- gh-comment-id:715138262 --> @ciur commented on GitHub (Oct 23, 2020): SQLite by default works with character UTF-8 encodings as expected (i.e. works with french é, è, à characters). My suggestion is to open a bug to whatever docker image provider you use (or whomever packages Papermerge application for you).
Author
Owner

@Goliath67 commented on GitHub (Oct 23, 2020):

OK Many thanks.

<!-- gh-comment-id:715254890 --> @Goliath67 commented on GitHub (Oct 23, 2020): OK Many thanks.
Author
Owner

@l4rm4nd commented on GitHub (Nov 29, 2020):

Same issue for German umlauts. File can be uploaded, but PDF rendering breaks.

https://github.com/linuxserver/docker-papermerge/issues/16#issuecomment-735427190

<!-- gh-comment-id:735427662 --> @l4rm4nd commented on GitHub (Nov 29, 2020): Same issue for German umlauts. File can be uploaded, but PDF rendering breaks. https://github.com/linuxserver/docker-papermerge/issues/16#issuecomment-735427190
Author
Owner

@ciur commented on GitHub (Feb 22, 2021):

@l4rm4nd is still the case? I saw that ticket was closed on linuxserver's side. It is ok to close the ticket here as well?

imho this issue is related to docker packaging, has nothing to do with application code.

<!-- gh-comment-id:783401374 --> @ciur commented on GitHub (Feb 22, 2021): @l4rm4nd is still the case? I saw that ticket was closed on linuxserver's side. It is ok to close the ticket here as well? imho this issue is related to docker packaging, has nothing to do with application code.
Author
Owner

@l4rm4nd commented on GitHub (Feb 22, 2021):

@l4rm4nd is still the case? I saw that ticket was closed on linuxserver's side. It is ok to close the ticket here as well?

imho this issue is related to docker packaging, has nothing to do with application code.

I also think this was a bug in the docker image itself provided by linuxserver. Can be closed from my side!
Newest Papermerge 1.5.5 works like a charm. No accents bugs.

image

<!-- gh-comment-id:783408236 --> @l4rm4nd commented on GitHub (Feb 22, 2021): > @l4rm4nd is still the case? I saw that ticket was closed on linuxserver's side. It is ok to close the ticket here as well? > > imho this issue is related to docker packaging, has nothing to do with application code. I also think this was a bug in the docker image itself provided by linuxserver. Can be closed from my side! Newest Papermerge 1.5.5 works like a charm. No accents bugs. ![image](https://user-images.githubusercontent.com/21357789/108720671-655e9500-7521-11eb-9dba-9f2a205160d7.png)
Author
Owner

@ciur commented on GitHub (Feb 22, 2021):

@l4rm4nd danke!

<!-- gh-comment-id:783535983 --> @ciur commented on GitHub (Feb 22, 2021): @l4rm4nd danke!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#150
No description provided.