Page 1 of 1
gibberish characters in files when they are downloaded and saved
Posted: 18 May 2025, 19:18
by krogias
Hi,
My download files are uploaded with Greek Characters. When I download them, the are in gibberish.
https://imgur.com/a/dNYXlXm
Re: gibberish characters in files when they are downloaded and saved
Posted: 18 May 2025, 22:37
by Benno
Hi,
see:
https://www.phoca.cz/documentation/77-p ... ing-images
There can be problems with image names (folder names) on some servers. Before you upload your images into a server, please check the image names (folder names). They shouldn't contain spaces or some bad characters (', ", #, ...), diacritics or special national characters.
This article concerns the naming of files and folders in Phoca Gallery, but also applies to the naming of Phoca Download files and folders. Of course you can use Greek characters for the title of this files:
Backend --> Components --> Phoca Download --> Files --> File: [Edit] --> Title
Kind regards,
Benno
Re: gibberish characters in files when they are downloaded and saved
Posted: 19 May 2025, 08:52
by krogias
Thank's for the reply.
I don't get it. Do yoy mean that I have to change the Title to latin characters?
What is the problem in some servers? Can I fix it so I don't have to change the Titles? I really need them to be in Greek.
Is it an encoding problem? I didn't have it before the last update. Even in my database are shown in Greek.
Only when I download the file it is saved in gibberish.
Re: gibberish characters in files when they are downloaded and saved
Posted: 19 May 2025, 10:34
by Benno
Hi,
Do yoy mean that I have to change the Title to latin characters?
Just give it a try. Rename a file for testing, so that only standard characters (Latin characters) and no spaces are used and everything is written with lower case letters. If the download works then, it is due to the Greek characters used previously.
And as I wrote above, I mean the name(s) of the file(s) and folder(s) on your server, not the titles of the files and categories in Phoca Download.
Kind regards,
Benno