gibberish characters in files when they are downloaded and saved

Phoca Download - download manager
krogias
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 15 Nov 2023, 21:48

Re: gibberish characters in files when they are downloaded and saved

Post by krogias »

Well, the only thing that I can think of, is the server colletion, but I use the best for Joomla! (utf8mb4_unicode_ci).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: gibberish characters in files when they are downloaded and saved

Post by Jan »

This should not be related to database but hard to say. Try to set direct link to the file, then the URL should be linked directly to the file on the server and test if it can be accessed.
If you find Phoca extensions useful, please support the project
krogias
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 15 Nov 2023, 21:48

Re: gibberish characters in files when they are downloaded and saved

Post by krogias »

Direct link converts the url also to gibberish... and to error 404.
But if I manually change the gibberish with the right path (all in Greek), the file is opened.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: gibberish characters in files when they are downloaded and saved

Post by Jan »

Hi, then this is much more a question on server provider, because when displaying direct link and clicking on it, this has nothing to do with Phoca Download, as the link just goes directly to the server file (without any use of Phoca Download) :idea:

Jan
If you find Phoca extensions useful, please support the project
krogias
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 15 Nov 2023, 21:48

Re: gibberish characters in files when they are downloaded and saved

Post by krogias »

Hi Jan,
But when I download it directly, with no Pocha Download envolved, it is saved properly with Greek characters...
The problem occures only if it is downloaded via Phoca.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: gibberish characters in files when they are downloaded and saved

Post by Jan »

Then something can happen when using the download header instructions here:
administrator/components/com_phocadownload/libraries/phocadownload/download/download.php

see the headers, cca line 170, which are rendered there - maybe there can be some conflict with server settings - the only advice is to somehow try to disable/enable them for tests and test if something helps there :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply