Bug 154453 - filenames with UTF-8 accessed from konqueror over ssh (fish) are wrong
Summary: filenames with UTF-8 accessed from konqueror over ssh (fish) are wrong
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-22 00:11 UTC by Jiri Navratil
Modified: 2011-06-11 18:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Wrong UTF-8 file names in kio fish (150.45 KB, image/png)
2008-02-07 13:05 UTC, Vsevolod Krishchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Navratil 2007-12-22 00:11:36 UTC
Version:           3.5.8 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

konqueror is working fine with UTF-8 file names stored locally

when accessing remote files over ssh (fish), then file names are wrong

how to reproduce:
on machine "server" use
touch /tmp/test_file_ěščřž

from machine "client" use in konqueror

fish://username@server:22/tmp

file name will be diferent

test_file_?????
Comment 1 Jiri Navratil 2007-12-22 00:31:22 UTC
This is related to
http://bugs.kde.org/show_bug.cgi?id=74980
but not solved for me
(both systems are globally set to LANG=cs_CZ.UTF-8)
Comment 2 Vsevolod Krishchenko 2008-02-07 13:02:17 UTC
Same with Russian file names. I used both LANG=en_US.UTF-8 and LANG=ru_RU.UTF-8 and in both cases fish slave shows incorrect file name. Screenshot attached.

scp -r works fine (scp output shown on screenshot too). Krusader does not work.

PS I saw this problem first time in the same day I saw Linux first time (2005?). I belived that something wrong with me but now I think some is wrong with kio fish.
Comment 3 Vsevolod Krishchenko 2008-02-07 13:05:07 UTC
Created attachment 23458 [details]
Wrong UTF-8 file names in kio fish

Screen shows scp (works fine), konqueror and krusader (both of them did not
work)
Comment 4 Vsevolod Krishchenko 2008-02-07 14:08:59 UTC
Ok, I was dumb. It fixed by using Select Remote Charset menu. Still I wonder when it is not utf-8 by default in utf-8 system?
Comment 5 Alexander Darovsky 2008-02-07 15:36:53 UTC
Because remote system may have non-utf8 encoding. 

Is there any way to set default remote encoding to utf-8, by the way?
Comment 6 Jiri Navratil 2008-02-08 18:37:23 UTC
It can be usefull, if there will be clear, what the default encoding
is, because whole system is set to UTF-8 so I expected, that this will
be set correctly.

Anyway, I changed the remote encoding from default to utf-8 and the
konqueror died. Then I used iso8859-2 and konqueror died again.

Tested against Ubuntu and OpenBSD machines.
Comment 7 Martin Koller 2011-06-11 18:03:07 UTC
works for me in KDE 4.6.3