workflow_script icon indicating copy to clipboard operation
workflow_script copied to clipboard

App removes Umlauts

Open Jebop opened this issue 4 years ago • 2 comments

Hello, I have a Script that processes various files but every time a Filepath contains a Umlaut (äöüÜÖÄ) the App removes them from the Path and the Script fails. Wich is weird because i have a seperate Nextcloud server (but a older version) for Testing where the App does not remove the Umlauts and the Script works perfectly.

I just recently setup the Nextcloud where i encounter this Problem. Is it possible that i made some mistakes in the setup Process that causes this to happen? I searched for hours but could not find documentation on this problem.

I dont know if its a bug for newer versions or if im just too dumb to see my error but help would be very appreciated.

Steps to reproduce

  1. Setup Workflow_Script to echo filepath to logfile
  2. do smth to File with Umlauts (e.g. Müller.pdf)
  3. wait for cron.php or execute
  4. Open logfile

Expected behaviour

path in logfile is, some/file/called/müller.pdf

Actual behaviour

path in logfile is, some/file/called/mller.pdf

Workflow Script app

**Workflow Script app version: 1.7.0

Server configuration

Operating system: Ubuntu

Web server: Apache

Database: Maria

**Nextcloud Version: 22.2.0

Jebop avatar Nov 19 '21 11:11 Jebop

Can confirm with Debian 11 Apache Maria and PHP8. I first encountered this problem after switching to PHP 8. But maybe just coincidence

MarVinSto avatar Nov 19 '21 13:11 MarVinSto

Can confirm this in a docker-compose stack using the current official docker image nextcloud:22.2.3-fpm from docker hub. The official docker image is based on the official php:80-fpm-bullseye image which currently has php 8.0.12.

level420 avatar Nov 19 '21 16:11 level420