Upload file to folder using unicode symbols problem

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
alex
User
Posts: 267

Upload file to folder using unicode symbols problem

Post by alex »

Uploaded file names in database in utf8 but in upload folder uploads in CP1252. Then uploaded file link is not accessible from view and list pages (Error 404).

Here are some details:

-Inaccessible link from"view" and "list" page looks like (same as original uploading file name, so it's okey): /project/upload_unicode_file_АБСД.txt

-The same uploaded file is still accessible from edit page link. Link of the same file is like: /project/ewupload11.php?rnd=268667186&id=x_attachments&x_attachment=upload_unicode_file_%D0%90%D0%91%D0%A1%D0%94.txt&download=1

-Uploaded file in upload folder is renamed (I think in CP1252) like: upload_unicode_file_АБСД.txt

I wish to upload files in upload folder with original names in utf8. Would you please help me to solve that kind of issue?


danielc
User
Posts: 1601

Post by danielc »


alex
User
Posts: 267

Post by alex »

Just after reading your answer I have got understanding that the problem was on my localhost (because of windows) and it was ok on my server.

Thank you master and Happy New Year!


Post Reply