Impossible to list the content of directories with non-Latin characters (é, たた). Reproducible: Always Steps to Reproduce: 1. Have ssh installed locally. 2. Create a local directory with non-Latin characters (ex: /tmp/é, /tmp/たた) 3. In Dolphin, connect to this directory via fish: fish://myuser@localhost/tmp/たた/ Actual Results: A message is displayed that it cannot enter in this directory. "Could not enter folder fish://myuser@localhost/tmp/たた/" Expected Results: It should list the content of the directory. * When adding some logs in ".fishsrv.pl", question mark are displayed instead of the non-Latin Characters. * When manual running ".fishsrv.pl" and executing the "LIST" command, the content of my directories are properly listed. * In the menu "Tool" of Dolphin, changing the encoding to "utf-8" did not change anything. Versions: Version 15.08.2 KDE Frameworks 5.15.0 Ubuntu 15.10 - Ubuntu 15.10
Note that I don't have this issue with "sftp" kioslave (but "fish" it twice faster, so it is not a nice workaround).
I would like to confirm this bug. ArchLinux with all the updates. Version 15.12.2 KDE Frameworks 5.19.0
Moved to kio-extras (where "fish" is located). Tested again in Kubuntu 16.10 (KDE Frameworks 5.18.0) with the same error. In the source file "fish.cpp", there is something... fishy. In the function "fishProtocol::writeStdin", there is this line: qlist.append(line.toLatin1()); I think the fact that the non-latin characters are replaced by question marks come from there. I guess it should be something like that in order to encode to the encoding expected by the remote party: qlist.append(E(line)); Note that I did not manage (at least for the moment) to execute a patched version of "fish" on my machine in order to verify my theory. Cheers,
On my machine, the modification fixes the problem. Added a review request in Reviewboard.
Git commit 1876df2e3d59c3d0fdee3d3084a07175fc9a00ed by Albert Astals Cid, on behalf of Fabien Shum-King. Committed on 16/05/2016 at 22:04. Pushed by aacid into branch 'Applications/16.04'. fish: Fix bug with directories having a non-latin1 name REVIEW: 127941 M +1 -1 fish/fish.cpp http://commits.kde.org/kio-extras/1876df2e3d59c3d0fdee3d3084a07175fc9a00ed
*** Bug 364210 has been marked as a duplicate of this bug. ***