Closed
Bug 255949
Opened 20 years ago
Closed 17 years ago
gnome vfs smb (<2.6) doesn't list files with non-ASCII names
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jshin1987, Unassigned)
References
Details
(Keywords: intl, relnote)
When I browse into a directory (via gnome vfs smb://) with files with non-ASCII names, Mozilla doesn't list files with non-ASCII names. Actually, it seems like it stops at the first file with non-ASCII chacters in its name. It's on FC1 (with gnome-vfs 1.0.5 and gnome-vfs2 2.4.1). smbclient and smbmount don't have any poroblem dealing with those files.
Reporter | ||
Comment 1•20 years ago
|
||
My debug build emits the following warning for each file whose name has non- ASCII characters: -1085089664[912f548]: WARNING: UnEscapeAndConvert error, file /prj/moz/src/ mozilla/netwerk/streamconv/converters/nsDirIndexParser.cpp, line 309 WARNING: UnEscapeAndConvert error, file /prj/moz/src/mozilla/netwerk/streamconv/ converters/nsDirIndexParser.cpp, line 309 That warning is fired when | gTextToSubURI->UnEscapeAndConvert(mEncoding.get(), filename.get()| fails.
Summary: gnome vfs smb doesn't list files with non-ASCII names → gnome vfs smb doesn't list files with non-ASCII names
Reporter | ||
Comment 2•20 years ago
|
||
I think it's the 'smb' part of GnomeVFS that is to blame. It should work like Win 2k/XP instead of acting like Win9x/ME, but it seems to behave like Win 9x/ME as a samba client. My samba server has 'display charset' and 'unix charset' set to 'utf-8' while 'dos charset' is set to CP949 (because there are a few Korean win 9x/ME clients on the network). According to the samba manual [1], Win 2k/XP doesn't care about 'dos charset' and the communication between samba server and Win 2k/XP samba client is entirely done in 'Unicode'. Apparently, GnomeVFS refers to 'dos charset' part (of course, it can't directly refer to the value, but presumably uses what's exposed by the samba server which corresponds to 'dos charset' ). I found that 'filename' is url-encoded CP949 and 'mEncoding' is UTF-8 | gTextToSubURI->UnEscapeAndConvert(mEncoding.get(), filename.get()| I'll try the cvs version of GnomeVFS and see if it's fixed there. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/unicode.html
Reporter | ||
Comment 3•20 years ago
|
||
I filed a bug at the gnome bugzilla. http://bugzilla.gnome.org/show_bug.cgi?id=150423
Updated•18 years ago
|
Assignee: darin → nobody
QA Contact: benc → networking
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: relnote
Resolution: --- → INVALID
Summary: gnome vfs smb doesn't list files with non-ASCII names → gnome vfs smb (<2.6) doesn't list files with non-ASCII names
You need to log in
before you can comment on or make changes to this bug.
Description
•