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

Unicode Errors result in always re-download #79

Open
sn00py1310 opened this issue May 25, 2023 · 3 comments
Open

Unicode Errors result in always re-download #79

sn00py1310 opened this issue May 25, 2023 · 3 comments

Comments

@sn00py1310
Copy link

There seems to be a bug with Unicode detecting the same filename on the disk and the server differently.
So it re-downloads the whole file every time.

grafik

  Added 'Übungsmaterial/Folien_Übung2.pdf'
  Deleted 'Übungsmaterial/Folien_Übung2.pdf'

Exact copied output.
You can see it here https://www.soscisurvey.de/tools/view-chars.php

Redownload is on default
OS: Windows 10
Version: PFERD 3.4.3

@Garmelon
Copy link
Owner

Garmelon commented May 25, 2023

Sounds like the file name is not unicode normalized on ilias, but at some point after downloading the file it is unicode normalized to NFC/NFKC. What file system are you running this on?

@sn00py1310
Copy link
Author

After further research, I could pinpoint the root cause of the issue.
It's a combination of PFERD, ILIAS and synchronization tools. A lot of the tools for synchronization normalize the file-/foldernames. In my case, it's syncthing.
There isn't probably a good solution in PFERD for this type of issue.

@Garmelon
Copy link
Owner

Garmelon commented Jun 1, 2023

A setting (disabled by default) to normalize paths before applying transforms could maybe fix this.

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

No branches or pull requests

2 participants