FS#76871 - [element-desktop] 1.11.10-2 File attachment does not works if path contains NON-ASCII symbols

Attached to Project: Community Packages
Opened by Shamsudin (shams) - Sunday, 18 December 2022, 13:55 GMT
Last edited by Toolybird (Toolybird) - Thursday, 19 January 2023, 02:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Can't send attachments with non-ascii symbols in path.

Steps to reproduce:
- Go to chat with single user
- Try to attach file with non-ascii symbols in path. For example: "/shams/temp/тест\ тест/Предложение\ по\ изменению.drawio". By drag-n-drop or by explicit file selection.
- The popup is shown (e1.png) with the file size equal to zero.
- The "upload" button doesn't send the file.

Steps to fix:
I have found that running the element-desktop in such way fixes the problem: env LC_ALL=C.UTF-8 /usr/bin/element-desktop
But I think it would be nice for this functionality to work out of the box.

* link to upstream bug report: https://github.com/vector-im/element-web/issues/23860
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 19 January 2023, 02:11 GMT
Reason for closing:  No response
Comment by Toolybird (Toolybird) - Sunday, 18 December 2022, 20:54 GMT
That looks like a workaround, not a fix. How is your system locale set up? Please show the output of:

$ locale

Loading...