regolith-linux/ilia

ilia -p tracker unable to properly handle unicode filenames

Closed this issue · 2 comments

This error is fairly easy to reproduce, simply create a file which uses unicode characters and try finding it using ilia.
For example, I have created a file "test_ñ_и.txt" in Documents, and trying to find it using ilia yields:

image

This error is not limited to the user interface, trying to open the file fails because the path is passed badly formatted to xdg-open. This is the console output after hitting Enter with the entry selected:

gio: file:///home/tatjam/Documents/test_31_08.txt: Error when getting information for file “/home/tatjam/Documents/test_31_08.txt”: No such file or directory

The fix is remarkably simple, I will create a pull request.

Pull request #54 created that fixes this, closing the issue.