Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

[BUG] Downloaded filenames don't support Unicode #1737

Open
mpldr opened this issue Oct 24, 2022 · 3 comments
Open

[BUG] Downloaded filenames don't support Unicode #1737

mpldr opened this issue Oct 24, 2022 · 3 comments

Comments

@mpldr
Copy link

mpldr commented Oct 24, 2022

Describe the bug
When downloading a document where the Correspondent/Title contains special characters, these characters are mangled:

- 2022-10-18 Stadt Gro�enhain Meldebest�tigung.pdf
+ 2022-10-18 Stadt Großenhain Meldebestätigung.pdf

To Reproduce
Steps to reproduce the behavior:

  1. Find document in list
  2. Click on 'Download'
  3. See Filename

Expected behavior
The filename does not contain invalid symbols

Screenshots
Not applicable

Relevant information

  • Host OS of the machine running paperless: Archlinux
  • Browser Firefox Android
  • Version 1.5.0
  • Installation method: docker
@slankes
Copy link

slankes commented Nov 19, 2022

paperless-ng is pretty much abandoned. Have a look at https://github.com/paperless-ngx/paperless-ngx for a maintained fork.

@mpldr
Copy link
Author

mpldr commented Nov 19, 2022

Thanks, will do.

@bangboomben
Copy link

bangboomben commented Jan 13, 2023

didn't solve it to me though...

[2023-01-14 00:44:37,557] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/consume/34242536 - Einkommensteuererklrung.pdf to the task queue.

[2023-01-14 00:44:37,647] [ERROR] [paperless.handlers] Creating PaperlessTask failed: 'utf-8' codec can't encode character '\udce4' in position 30: surrogates not allowed

EDIT: worked for me as I installed the ubuntu base in german

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

No branches or pull requests

3 participants