GNOME Bugzilla – Bug 599373
Russian (cyrrilic) shares names display incorrectly
Last modified: 2014-06-02 08:57:13 UTC
I have Russian Windows XP on my network and when I try to open shares in nautilus on it I see strange letters for shares with russian names (something like "䫬ҼѡÔÙ"). And I cannot open such shares. OS: ubuntu 9.10 here is gvfsd -r output when I try to open such share: kolya@kolya-laptop:~$ GVFS_DEBUG=1 /usr/lib/gvfs/gvfsd -r Added new job source 0x8363068 (GVfsBackendSmb) Queued new job 0x8363c20 (GVfsJobMount) send_reply, failed: 1
I have got a same problem with Ubuntu 9.10 & GNOME 2.28.1. Windows shares with cyrillic names not properly visible. (Strange symbols). Shares with latinic names - OK. Cyrillic directories within shares also OK.
Wow! It's not GNOME bug. It's SAMBA bug. Workaround: Add parameter "dos charset = CP866" to global section of smb.conf and reboot system. After reboot everything will be OK.
gvfs doesn't mess with the text encoding given by libsmbclient and AFAIK libsmbclient doesn't give any way of changing it. If things aren't being displayed properly, then you probably need to set your charset as Yuri mentioned.
(In reply to comment #3) > gvfs doesn't mess with the text encoding given by libsmbclient and AFAIK > libsmbclient doesn't give any way of changing it. Not programmatically, but it can use a user-wide smb.conf file (not necessarily a system-wide one).