On Fri, Dec 17, 2004 at 04:47:25PM +0200, Ilya Konstantinov wrote: > Naomi Schor wrote: > > >WITHOUT mounting. I point Konqueror to > > > >smb://KWIN98/KITAA > > > >and I see the files ok, but I see gibberish when the file names are in > >Hebrew. > > > From a short look at the KDE source code ( > http://webcvs.kde.org/kdenonbeta/kio_smbro/kio_smb.cpp?rev=1.58&view=auto > ), I see that it simply uses the "smbclient" utility to access the SMB > share without mounting. To list files, it executes the "dir" command in > smbclient.
I'm not familiar with relevant KDE code there, but appears to look for 'smbclient' in the PATH, right? if so, create the following script as /usr/local/bin/smbclient #!/bin/sh if [ -e /tmp/862 ] /usr/bin/smbclient "$@" | iconv -f cp862 else /usr/bin/smbclient "$@" fi (untested) Hopefully this script will apply translation only when the file /tmp/862 exists. Create it and delete it when necessary. -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]