Apparently, someone didn't pay attention to the encoding when moving files from one server to another and I ended up with filenames containing German umlauts that appear as question mark in ls
when using PuTTY. However, when using bash autocomplete, the filename is not displayed with a question mark but with a weird character instead. FileZilla on the other hand displays the characters correctly via SFTP (SSH, not FTP with SSL/TLS) in the file list, but cannot transfer the files:
/var/www/domain.tld/Maße.doc: open for read: no such file or directory
With ls
I get:
-rw-r----- 1 smares smares 19K May 9 2013 Ma?e.doc
And when hitting tab to autocomplete:
smares@smares:/var/www/domain.tld$ cat Ma▒e.doc
Is there any way I can rescue the filenames?