[GH-ISSUE #1048] when uploading a file in another language (ua or ru), the file name is shortened to the first space #671

Closed
opened 2026-03-02 16:00:42 +03:00 by kerem · 6 comments
Owner

Originally created by @Dimitrievich on GitHub (May 26, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1048

when uploading a file in another language (ua or ru), the file name is shortened to the first space and dont download
upload file name Документ 1.docx
after uploading see 1.docx

how fix it?

Originally created by @Dimitrievich on GitHub (May 26, 2023). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1048 when uploading a file in another language (ua or ru), the file name is shortened to the first space and dont download upload file name Документ 1.docx after uploading see 1.docx how fix it?
kerem closed this issue 2026-03-02 16:00:43 +03:00
Author
Owner

@ner00 commented on GitHub (May 27, 2023):

I just tested this in my system and I don't have this issue.
This problem seems to not be caused by TFM itself but maybe something in the system's environment, no idea though.

I'm using a Windows 10 system, not sure if that matters.

<!-- gh-comment-id:1565423820 --> @ner00 commented on GitHub (May 27, 2023): I just tested this in my system and I don't have this issue. This problem seems to not be caused by TFM itself but maybe something in the system's environment, no idea though. I'm using a Windows 10 system, not sure if that matters.
Author
Owner

@Dimitrievich commented on GitHub (May 29, 2023):

if file started name in english, all work fine
if file started ukrainian language, file in directory have part of name or only ex .xlsx

<!-- gh-comment-id:1566690190 --> @Dimitrievich commented on GitHub (May 29, 2023): if file started name in english, all work fine if file started ukrainian language, file in directory have part of name or only ex .xlsx
Author
Owner

@ner00 commented on GitHub (May 29, 2023):

Again, this is dependents on the system given that I have tested specifically with the name you suggested and it worked fine. Someone else might have suggestions why that happened on your system though, my point is just that it's probably unrelated to TFM, especially since my system has no special support for Cyrillic.

<!-- gh-comment-id:1566693096 --> @ner00 commented on GitHub (May 29, 2023): Again, this is dependents on the system given that I have tested specifically with the name you suggested and it worked fine. Someone else might have suggestions why that happened on your system though, my point is just that it's probably unrelated to TFM, especially since my system has no special support for Cyrillic.
Author
Owner

@Dimitrievich commented on GitHub (May 29, 2023):

im using debian LAMP
maybe need install some lib?

<!-- gh-comment-id:1566817559 --> @Dimitrievich commented on GitHub (May 29, 2023): im using debian LAMP maybe need install some lib?
Author
Owner

@ner00 commented on GitHub (May 29, 2023):

It's possible, hopefully that info could be useful in tracking down the issue. I personally have no way of helping since I cannot reproduce the issue, but I hope someone else can help out.

<!-- gh-comment-id:1566821533 --> @ner00 commented on GitHub (May 29, 2023): It's possible, hopefully that info could be useful in tracking down the issue. I personally have no way of helping since I cannot reproduce the issue, but I hope someone else can help out.
Author
Owner

@Dimitrievich commented on GitHub (May 30, 2023):

Found solution.
problem will be in php
default install php 7.4
when i installed php 8.2, all work fine.
Thank you very much for everything)

<!-- gh-comment-id:1567885650 --> @Dimitrievich commented on GitHub (May 30, 2023): Found solution. problem will be in php default install php 7.4 when i installed php 8.2, all work fine. Thank you very much for everything)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#671
No description provided.