diff -uNr kdebase.org/kioslave/smbro/kio_smb.cpp kdebase/kioslave/smbro/kio_smb.cpp
--- kdebase.org/kioslave/smbro/kio_smb.cpp Thu May 17 12:15:05 2001
+++ kdebase/kioslave/smbro/kio_smb.cpp Thu May 17 13:14:01 2001
@@ -201,7 +201,9 @@
return true;
};
- QString outputString(m_stdoutBuffer);
+ //QString outputString(m_stdoutBuffer);
+ // by bumchul
+ QString outputString = QString::fromLocal8Bit(m_stdoutBuffer);
//no samba service on this host
if ((outputString.contains("Connection to")) && (outputString.contains("failed"))
@@ -462,7 +464,9 @@
return;
- QString outputString(m_stdoutBuffer);
+ //QString outputString(m_stdoutBuffer);
+ // by bumchul
+ QString outputString = QString::fromLocal8Bit(m_stdoutBuffer);
QTextIStream output(&outputString);
QString line;
@@ -499,11 +503,14 @@
kdDebug(7101)<<"Smb::listShares(): line: -"<fd(),command.data(),command.length())<0)
@@ -708,7 +719,8 @@
};
info.isValid=true;
- name=line.mid(2,startOfData-2);
+ //name=line.mid(2,startOfData-2);
+ name=line.mid(2,startOfData-2).stripWhiteSpace();
//if the file name ends with spaces, we have a problem...
int end(name.length()-1);
while (name[end]==' ')
@@ -785,7 +797,8 @@
kdDebug(7101)<<"Smb::_stat() utf8() : -"<fd(),command.data(),command.length())<0)
@@ -906,7 +921,9 @@
void SmbProtocol::get( const KURL& url )
{
kdDebug(7101)<<"Smb::get() "<fd(),command.data(),command.length())<0)
@@ -1110,7 +1129,9 @@
};
//now parse the output
//kdDebug(7101)<<"Smb::setHost() received -"<               ( geocities.com/kr/baram4x)                   ( geocities.com/kr)