Red Hat Bugzilla – Bug 106733
nautilus shows invalid filenames on smb shares
Last modified: 2013-04-02 00:18:22 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030822
Description of problem:
Nautilus (gnome-vfs2-extras libsmb.so) seems to have problems with non-US-ASCII
filenames on smb-shares. When I browse to directory with such filenames, some
characters are shown as question marks and (invalid unicode) is shown after
Unfortunately, Nautilus has tendency to sometimes rename files as it sees fit,
especially after viewing file properties. This will left filenames broken and
add "(invalid unicode)" after the name.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Type a smb://server/home url into nautilus location field.
2. Type in username+password
3. View contest of directory
Actual Results: Filenames with unicode characters are wrong:
Are shown as:
Lukuj?rjestys-syksy-2003.txt (virheellistÃ¤ Unicodea)
l??kbiokemia.doc (virheellistÃ¤ Unicodea)
Also, I copied file "GruÃkarten von bine.jpg" to SharedDocs directory on my
laptop, it became "GruâÆkarten von bine.jpg" on windows. On that form it
shows right on name on nautilus, but nowhere else. After fixing filename it
shows again wrong on Nautilus.
Expected Results: smbclient shows right names when share is accessed using
Samba server is 3.0 (since that is first version that supports unicode filenames).
Filenames on server are UTF-8 encoded and show fine on Windows XP and W98 clients.
Other server (laptop) has W-XP sp1.
Hopefully this can be fixed in the new smb method implementation which uses
libsmb from samba 3. We need to do charset coversion in the smb method depending
on the charset on the smb server.
OK, this works fine in current Gnome 2.6.