I have I directory watch on FME Server that triggers a workspace to move a file that inserts into the directory watch-folder, to the FME-server with a SystemCaller transformer.
It works fine when using a file that dosen´t cointain any special characters, however when I have a file with å, ä or ö the SystemCaller fails according to the log-file. In the log file, a file that spells "åäö.pdf" have the name "åäö.pdf" in the log file.
However the path to the file also contain å, ä and ö, but spells correctly in the logfile.
I´ve tried and wright the filename-attribute that generates from the JSONFlattener to a txt-file from the same workspace, and it also spells correctly.
I´ve tried to add "@echo off && chcp 1252 &&" infront och the copy-command in the SystemCaller, but it dosen´t seem to work for the filename.
So what must be the problem is that when the SystemCaller runs on FME Server and try to find "åäö.pdf" it can´t find it. Somehow something gets wrong with the formatting of the filename.
Does anyone have any idea what I´ve could´ve missed? Or what I can do to get this to work?