Hi
We’ve got the following issue:
We produce a file, then we make it a remote file (plugins.file.convertToRemoteJSFile) and finally we wan’t it to be downloaded in the browser (application.showURL).
This works when the file name is for example “Auftragsbestaetigung.docx”. But if the file name has special characters in it like “Auftragsbestätigung.docx” this doesn’t work.
What we’ve tried so far:
- use the original file name
- encode the url with “encodeURI(…)”
- encode the url with "encodeURIComponent(…)
- escape none ASCII-Characters with escape(…)
None of the above solutions work. We get an error (404) in the browser: This page … doesn’t exist!
But the file could be found in the file system under the file-plugin folder as expected!
Thanks for any hints on that issue.
Best
Roland