Skip to content

Preserve some special characters in filenames#35

Open
binnichtaktiv wants to merge 1 commit into
Rouji:masterfrom
binnichtaktiv:master
Open

Preserve some special characters in filenames#35
binnichtaktiv wants to merge 1 commit into
Rouji:masterfrom
binnichtaktiv:master

Conversation

@binnichtaktiv

@binnichtaktiv binnichtaktiv commented Jun 11, 2026

Copy link
Copy Markdown

Transliterate special characters (ä - ae, ö - oe, ü - ue, ß - ss etc.) before sanitisation so they aren't silently replaced with underscores

First time writing php lmk if something isn't right :)

Tested with this random file I had
äöüÄÖÜß.eml

Result:
aeoeueAeOeUess_UwR.eml

fixes #34

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

Successfully merging this pull request may close these issues.

keep original file name

1 participant