(11-05-2018, 12:56 PM)jreklund Wrote: Are your PHP-files stored as UTF-8?
Hi jreklund,
yes UTF-8 is set in the config for CI. First I thought it might be an issue with the server storing the files in ISO instead of UTF-8 but I dont have a problem renaming the file to TÄST.pdf through FTP. I toyed with the idea of adding an a utf-8_decode to the filename in upload.php but changing system files doesnt look like an option.
I guess somewhere down the line the filename which is passed as UTF-8 gets messed with and is stored in ISO. I just cant figure out where and why. The variable is passed around properly. Could the reason be that I am using AJAX to upload the file?